Hi!
 
While fixing some Castor templates, I couldn't find ways to do the following:
 
1) In Castor, the field type for a Java 'int' must be 'integer'. So, I searched for a XDoclet tag which could take care of some sort of mapping, or translation, along the lines of:
 
    <XDtString:translate from="int" to="integer"><!-- body --></XDtString:translate>
 
Is something like this possible?
 
2) In Castor, the field type for a Java Array (like 'fooBar[]') must appear in the Castor mapping as 'fooBar', without the brackets. How do I do this?
 
Thanks for any pointers!
 
Ciao,
 
Bart Guijt

Reply via email to