Keith,

It is my understanding that each Java class
can use either a *Descriptor.java or a mapping.
I believe that if you specify a mapping for a particular
class then it will override any *Descriptor it will find in the classpath.

For a single vm, some classes can use *Descriptors and others a mapping.

--Erik


      > -----Original Message-----
      > From: Keith Koski [mailto:[EMAIL PROTECTED]]
      > Sent: Tuesday, January 14, 2003 3:14 PM
      > To: [EMAIL PROTECTED]
      > Subject: [castor-dev] using SourceGenerator Descriptor 
      > classes AND a
      > mapping file?
      > 
      > 
      > i'd like to be able to utilize constraint facets in my 
      > XSD which the 
      > source generator puts into the Descriptor classes.
      > but, i also want to be able to unmarshal a document 
      > into my business 
      > classes  that extend the source generator classes.
      > 
      > it is possible to mix this two modes of unmarshalling 
      > an XML document or 
      > is this a case of either/or? i was never able to get 
      > instances of my 
      > business objects when using the Descriptor framework 
      > even when i had a 
      > Descriptor class defined. perhaps i missed some other 
      > requirement?
      > 
      > thanks,
      > kjk
      > 
      > ----------------------------------------------------------- 
      > 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

Reply via email to