The descriptor file is used by the Marshalling Framework, you can use it
yourself to obtain information about the classes or to interact with the
classes, but it's primarly used by Castor. It is used by Castor XML
only, since it contains no SQL related information which must currently
be specified in the mapping file. Perhaps in the future SQL related
information can be articulated to the source generator. Bruce and I will
be working more closely so that Castor generated source code can work
seamlessly with Castor JDO.
Thanks,
--Keith
bikehead wrote:
>
> I know that this is an incredibly simple question, but now that I've use
> the source generator to make a class and its descriptor from the XSD,
> where do I use the descriptor file? I searched through the tests and I
> didn't find code that used one of the generated descriptors. I must be
> looking in the wrong place. Please point me to a simple example that
> uses the generated class and descriptor.
>
> Oh, one other question: as I understand it the descriptor is used
> during marshalling, so is the descriptor used bothe by the XML
> conversion and the Database components?
>
> Thank you,
>
> --
> __o
> _-\<,_ Brian
> (_)/ (_) [EMAIL PROTECTED] x503
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev