Hi Eitan,

You can implement your own ClassDescriptorResolver to indicate to the
Marshalling Framework how to resolve ClassDescriptors or you can define
a mapping file for the extended classes.

Arnaud

> -----Original Message-----
> From: Eitan Suez [mailto:eitan@;uptodata.com]
> Sent: Wednesday, November 06, 2002 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] advice on marshalling subclasses of srcgen'd
> classes?
> 
> hi,
> 
>   i noticed that if i'm not careful and try to marshal
>   a class that is a subclass of a source-generated
>   class, the marshaller will go ahead and use the
>   default introspector instead of the class descriptor
>   generated by the source generator for the superclass.
> 
>   thus i'm producing non-schema-conforming xml.
> 
>   i've been using a convention of putting my generated
>   code in one package and the subclassed code in
>   another.
> 
>   any advice on how correctly marshal classes that are
>   subclasses of srcgen'd classes (and thus have their
>   own classdescriptors)?
> 
> thanks, eitan
> 
> -----------------------------------------------------------
> 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