File: binding4b.xml

package info (click to toggle)
libjibx1.2-java 1.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,260 kB
  • sloc: java: 75,013; xml: 14,068; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 708 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 optional
  mixed (attribute and element) components -->
<binding>
  <mapping name="customer" class="simple.Customer4">
    <structure field="name" usage="optional">
      <value name="first-name" style="attribute" usage="optional" 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>