i'm marshalling a Java object into xml ...
one of the class attributes is of type boolean (not Boolean).
i can marshall this via introspection with no problem,
but i want to add an entry to my mapping.xml (to change xml tag
for the field or make it an element instead of the default attribute).
boolean in mapping.xml (as i have below) expects java.lang.Boolean ...
<field name="isValid" type="boolean">
<bind-xml name="isValid" node="element"/>
</field>
any ideas on this?
also, when relying on introspection, all attributes from the Java
class become attributes in the xml (as opposed to elements). is there a way
to change
the default to create elements?
thanks.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev