Hi,
I'm using xsd2jibx to build my binding.xml.
I have a collection of integers and I need it to be a collection of
java.lang.Integer.
When the xsd looks like this:
<xs:complexType name="intList">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="intValue"
type="xs:int"/>
</xs:sequence>
</xs:complexType>
This is my result:
<mapping name="intValues" class="com.test.data.types.IntList">
<collection field="intValueList">
<value name="intValue" type="int"/>
</collection>
</mapping>
And when my xsd looks like this:
<xs:complexType name="intList">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="intValue"
type="xs:integer"/>
</xs:sequence>
</xs:complexType>
My result is:
<mapping name="intValues" class="com.test.data.types.IntList">
<collection field="intValueList">
<value name="intValue" type="java.math.BigInteger"/>
</collection>
</mapping>
Is there a way to get type of java.lang.Integer?
Thanks,
Dafna
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users