> Pete Lane wrote:
> 
> My application is such that we have defined a generic
> request element (i.e. the container) that carries data
> common to all requests (e.g. request header info).  It
> then may hold one of 33 specific request types (i.e.
> the members).  In a pure Java situation, one would
> probably use inheritance to define this relationship.
> However, I could not get Castor to implement an inher-
> ited class relationship. 

Either use a mapping file, or implement ClassDescriptorResolver.

For an example of ClassDescriptorResolver, see the default
implementation:

org.exolab.castor.xml.util.ClassDescriptorResolverImpl.

--Keith

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

Reply via email to