Hi,
I would like to know if I can write a hook into the source code generator to
generate a custom implementation for a particular xsd type.
I have a xsd type that has an unbounded element of type xs:byte.
<xs:element name="content" type="xs:byte" minOccurs="0"
maxOccurs="unbounded">
</xs:element>
This property gets generated as java.lang.Vector<java.lang.Byte>. I want
to change the implementation so that I use a byte array (byte[]). The
Vector<Byte> is taking up too much memory so I need to provide my own custom
implementation for this xsd type.
Is there a way in Castor to hook into the source code generator to
accomplish this?
Thanks.
--
View this message in context:
http://old.nabble.com/Source-Code-Generator-hooks-to-provide-custom-implementation.-tp27426802p27426802.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email