File: binding.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 (22 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<binding>
  <mapping name="customer" class="example14.Customer">
    <structure name="person" value-style="attribute">
      <value name="cust-num" field="customerNumber"/>
      <value name="first-name" field="firstName"/>
      <value style="text" field="lastName"/>
    </structure>
    <structure name="ship-address" field="shipAddress"/>
    <structure name="bill-address" field="billAddress" usage="optional"/>
    <value name="phone" field="phone"/>
  </mapping>
  <mapping name="subscriber" class="example14.Subscriber">
    <value name="name" field="name"/>
    <structure field="mailAddress"/>
  </mapping>
  <mapping class="example14.Address" abstract="true">
    <value name="street" field="street"/>
    <value name="city" field="city"/>
    <value name="state" field="state"/>
    <value name="zip" style="attribute" field="zip"/>
  </mapping>
</binding>