File: binding4c.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 (16 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- binding testing operation of optional structure with no name and required
  mixed (attribute and element) components -->
<binding>
  <mapping name="customer" class="simple.Customer4">
    <structure field="name" usage="optional">
      <value name="first-name" style="attribute" field="firstName"/>
      <value name="last-name" usage="optional" field="lastName"/>
    </structure>
    <value name="street1" field="street1"/>
    <value name="city" field="city"/>
    <value name="state" field="state"/>
    <value name="zip" field="zip"/>
    <value name="phone" field="phone"/>
    <collection usage="optional" field="referrals" item-type="simple.Customer4"/>
  </mapping>
</binding>