<!-- Test nested collections, in the form of a collection of lists and arrays -->
<binding>
<mapping name="myelement" class="simple.MyClass7">
<collection field="list" ordered="false"
factory="org.jibx.runtime.Utility.arrayListFactory">
<collection name="ints" type="java.util.ArrayList" usage="optional">
<value name="int" type="java.lang.Integer"/>
</collection>
<collection name="strings" type="java.lang.String[]" usage="optional">
<value name="string" type="java.lang.String"/>
</collection>
</collection>
</mapping>
</binding>
|