Hello,
I have Java source code generated using Castor.
My requirement is, I need to set some of the members of generated Java
class dynamically and generate the xml for that object with only members
whose set methods have been called.
I have "default" in the xml schema for some of the elements. For
example,
<xsd:element name="ipConfig" type="AddrAllocTypeEnum" default="DHCP"
minOccurs="0"/>
Code gets generated for this ipConfig field with default of DHCP. So,
when I marshall this object, I get xml for this default members also.
How can I avoid this?
Thanks,
Sreedhar
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email