Scott,

Why not simply pass in no class at all and let Castor figure it out. As
long as your schema files don't have any conflicting element names then
Castor should be able to automatically choose the correct class.

Unmarshaller = new Unmarshaller((class)null);

You can also implement (or extend the default one) a
ClassDescriptorResolver and pass that into Castor. Castor uses the
ClassDescriptorResolver to find all ClassDescriptors, by implementing
your own or extending the default one you can control which
ClassDescriptors are used and therefore the entire object model that
will get created.

--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