File: binding2a.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 (15 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- Same as binding2, but with children of timetable in reverse order to create
 lots of forward references. Also uses a wrapper unordered <structure> around a
 collection to duplicate a problem found by a customer. -->
<binding forwards="true">
  <include path="binding2-shared.xml"/>
  <mapping name="timetable" class="multiple.TimeTableBean">
    <collection field="m_routes" item-type="multiple.RouteBean"/>
    <structure name="airports" ordered="false">
      <collection field="m_airports" usage="optional"
        item-type="multiple.AirportBean"/>
    </structure>
    <collection name="carriers" field="m_carriers"
      item-type="multiple.CarrierBean"/>
  </mapping>
</binding>