File: mybinding7.xml

package info (click to toggle)
libjibx-java 1.0.1-2
  • links: PTS
  • area: contrib
  • in suites: lenny
  • size: 15,748 kB
  • ctags: 10,069
  • sloc: java: 29,151; xml: 7,963; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!-- 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>