Keith,

Thank you very much for your quick reply!

Actually, what I'm having trouble figuring out is how to actually use the
descriptors once they're generated. I know there must be something simple,
but I just haven't seen what it is yet.

In the example you mention, it generates several Java classes along with
their descriptors. How would I actually use these in conjunction with the
API?


Thanks a lot!


Dave





> -----Original Message-----
> From: Keith Visco [mailto:[EMAIL PROTECTED]
> Sent: June 4, 2004 17:45
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-user] [XML] Using Class Descriptors instead of XML
> Mapping
>
>
>
>
> David,
>
> The SourceGenerator (org.exolab.castor.builder.SourceGenerator) requires
> an XML Schema definition file (.xsd) in order to create java classes and
> descriptors.
>
> --Keith
>
>
> David Leangen wrote:
> >
> > In the Castor doc (especially at
> > http://www.castor.org/xml-framework.html#Class-Descriptors), it
> mentions the
> > following:
> >
> >   Compile-Time Descriptors
> >
> >   To use "compile-time" class descriptors, one can
> >   either implement the org.exolab.castor.xml.XMLClassDescriptor
> >   interface for each class which needs to be "described", or
> >   have the Source Code Generator create the proper descriptors.
> >
> > I have been trying to do just that, but with no success. I have
> look through
> > the docs and the source code... but there is obviously
> something that I'm
> > not "getting" here...
> >
> > Can anybody point me in the right direction?
> >
> > Thanks!
> >
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of:
> >         unsubscribe castor-user
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-user



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to