Hello Suraj,

You can always use a binding file to give a property a diffrent name
during generation.

Werner 

> -----Original Message-----
> From: Dubey, Suraj [mailto:[EMAIL PROTECTED] 
> Sent: Donnerstag, 23. Februar 2006 07:08
> To: [email protected]
> Subject: [castor-user] castor generated mapping file problems
> 
> 
> Hi
> 
>  I have some doubts regarding usage of castor tool. I am 
> generating java classes and mapping files using castor 
> mapping tool from xsds. I need to use handler  which must be 
> specified in mapping file. But I want this to be done while 
> mapping generation. How should be the xsd modified to achieve this?
> 
> Also in the xsd for example <xsd:element ref="ATTRIBUTE" 
> minOccurs="0" maxOccurs="unbounded"/> generates a mapping 
> file which gives field name as ATTRIBUTEList. How can I avod 
> the word List being attached to the variable name?
> 
> Suraj Dubey                           
> 
> 
> 
> This e-mail and any attachment is for authorised use by the 
> intended recipient(s) only. It may contain proprietary 
> material, confidential information and/or be subject to legal 
> privilege. It should not be copied, disclosed to, retained or 
> used by, any other party. If you are not an intended 
> recipient then please promptly delete this e-mail and any 
> attachment and all copies and inform the sender. Thank you.
> 
> -------------------------------------------------
> If you wish to unsubscribe from this list, please send an 
> empty message to the following address:
> 
> [EMAIL PROTECTED]
> -------------------------------------------------
> 
> 
> 

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to