forked from highsource/jaxb2-annotate-plugin
/
PurchaseOrder.xjb
111 lines (81 loc) · 4.47 KB
/
PurchaseOrder.xjb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<jaxb:bindings jaxb:version="3.0"
xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:annox="http://jvnet.org/basicjaxb/xjc/annox"
jaxb:extensionBindingPrefixes="annox"
>
<!-- Global Bindings -->
<jaxb:globalBindings localScoping="toplevel">
<jaxb:serializable uid="20230401" />
</jaxb:globalBindings>
<jaxb:bindings schemaLocation="PurchaseOrder.xsd" node="/xsd:schema" >
<!-- Items -->
<jaxb:bindings node="xsd:complexType[@name='Items']">
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlAccessorType"/>
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlType"/>
</jaxb:bindings>
<!-- Item -->
<jaxb:bindings node="xsd:complexType[@name='Items']//xsd:element[@name='item']/xsd:complexType">
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlAccessorType"/>
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlType"/>
<jaxb:bindings node="//xsd:element[@name='productName']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='USPrice']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='shipDate']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlSchemaType"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:attribute[@name='partNum']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlAttribute"/>
</jaxb:bindings>
</jaxb:bindings>
<!-- USAddress -->
<jaxb:bindings node="xsd:complexType[@name='USAddress']">
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlAccessorType"/>
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlType"/>
<jaxb:bindings node="//xsd:element[@name='name']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='street']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='city']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='state']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='zip']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:attribute[@name='country']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlAttribute"/>
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter"/>
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlSchemaType"/>
</jaxb:bindings>
</jaxb:bindings>
<!-- PurchaseOrder -->
<jaxb:bindings node="xsd:element[@name='purchaseOrder']/xsd:complexType">
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlAccessorType"/>
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlType"/>
<annox:removeAnnotation target="class" class="jakarta.xml.bind.annotation.XmlRootElement"/>
<jaxb:bindings node="//xsd:element[@name='shipTo']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='billTo']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:element[@name='items']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlElement"/>
</jaxb:bindings>
<jaxb:bindings node="//xsd:attribute[@name='orderDate']">
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlAttribute"/>
<annox:removeAnnotation target="field" class="jakarta.xml.bind.annotation.XmlSchemaType"/>
</jaxb:bindings>
</jaxb:bindings>
</jaxb:bindings>
</jaxb:bindings>
<!-- vi:set tabstop=4 hardtabs=4 shiftwidth=4 noexpandtab:-->