Hi,
 
I want Castor source generator to create java.util.Date fields for xs:date and 
xs:time instead of Castor defined types.

I’ve found in archive the following mail indicating that it is possible to 
override the default output type for <xs:date>. But in documentation I have 
only figured out how to change the output java type of a specific xs:date 
element of a complex type. Not how to change output of all xs:date elements.
 
Does someone have an example ?
 
Thanks,
 
Loïc
 
------ 2009-08-10
Hi,

You can always supply a binding file to the (underlying) Castor XML code
generator to override the default output type for <xs:date> instances.

Regards
Werner

Stevo Slavić wrote:
> Hello castor(-maven-plugin) users,
> 
> Does anyone know why does castor-maven-plugin (1.5) for xs:date elements
> generate class properties oforg.exolab.castor.types.Date type? Is there any
> way to have it configured to generatejava.util.Date instead?
> 
> Regards,
> Stevo.

Reply via email to