If you're using existing classes, you need to use a mapping file:
http://castor.exolab.org/xml-mapping.html
The generated classes are of no-use to you since you have your own
existing classes.
--Keith
顾 大明 wrote:
>
> Hi all,
>
> I’m new to castor and trying to write something can binding existing java
> object to xml restrict by certain xml schema, Could anybody tell me how can
> I make use of those java file generated by source code generator please,
> does it simply just compile the java file do the Marshalling together with
> all those java file generated from XML Schema?
>
> Many Thanks
>
> Daming
>
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
>
> -----------------------------------------------------------
> 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