<!-- This adds bindings for core Java classes (requiring the binding code to go
 into a separate class), and also has JiBX add a default constructor. -->
<binding add-constructors="true">
  <mapping name="myelement" class="simple.MyClass1">
    <value name="a" get-method="getA" set-method="setA"/>
    <value name="b" get-method="getB" set-method="setB"/>
    <structure name="dimension" field="dimen" value-style="attribute">
      <value name="width" field="width"/>
      <value name="height" field="height"/>
    </structure>
    <structure name="rectangle" field="rect">
      <value name="width" field="width" style="attribute"/>
      <value name="height" field="height" style="attribute"/>
      <value name="x" field="x"/>
      <value name="y" field="y"/>
    </structure>
    <collection name="ints" field="ints">
      <value name="int" type="java.lang.Integer"/>
    </collection>
  </mapping>
</binding>
