File: binding5.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-- 647 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- Mapping typed array with TypedArrayMapper and Object[] base property. -->
<binding>
  <mapping name="names" class="extras.TypedArray">
    <structure get-method="getObjects" set-method="setObjects"
        type="extras.TypedArray$Name[]"/>
  </mapping>
  <mapping class="extras.TypedArray$Name[]"
      marshaller="org.jibx.extras.TypedArrayMapper"
      unmarshaller="org.jibx.extras.TypedArrayMapper"/>
  <mapping name="name" class="extras.TypedArray$Name">
    <value name="id" style="attribute" field="m_id" ident="def"/>
    <value name="first-name" field="m_first"/>
    <value name="last-name" field="m_last"/>
  </mapping>
</binding>