author | mkos |
Sun, 30 Dec 2012 00:00:00 +0100 | |
changeset 22678 | ac1ea46be942 |
parent 12009 | 4abb694f273a |
permissions | -rw-r--r-- |
12009 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
|
22678
ac1ea46be942
8029237: Update copyright year to match last edit in jaxws repository for 2012
mkos
parents:
12009
diff
changeset
|
3 |
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
12009 | 4 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
||
6 |
This code is free software; you can redistribute it and/or modify it |
|
7 |
under the terms of the GNU General Public License version 2 only, as |
|
8 |
published by the Free Software Foundation. Oracle designates this |
|
9 |
particular file as subject to the "Classpath" exception as provided |
|
10 |
by Oracle in the LICENSE file that accompanied this code. |
|
11 |
||
12 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
13 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 |
version 2 for more details (a copy is included in the LICENSE file that |
|
16 |
accompanied this code). |
|
17 |
||
18 |
You should have received a copy of the GNU General Public License version |
|
19 |
2 along with this work; if not, write to the Free Software Foundation, |
|
20 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
21 |
||
22 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
23 |
or visit www.oracle.com if you need additional information or have any |
|
24 |
questions. |
|
25 |
--> |
|
26 |
||
27 |
<!-- |
|
28 |
DTD binding information file which is supported by this version of XJC. |
|
29 |
||
30 |
- Changes from the EA1 is marked by "CHANGE:" |
|
31 |
- "ref:key" and "ref:keyref" are used to specify cross-reference |
|
32 |
information. |
|
33 |
- "a:defaultValue" is used to specify the default behavior. |
|
34 |
Note that default behaviors are hard-coded to the source code. |
|
35 |
Values specified in this schema is not used in the actual processing. |
|
36 |
--> |
|
37 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"> |
|
38 |
<xs:import namespace="http://java.sun.com/xml/ns/jaxb/xjc" schemaLocation="xjc.xsd"/> |
|
39 |
<xs:element name="xml-java-binding-schema"> |
|
40 |
<xs:complexType> |
|
41 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
42 |
<xs:element ref="options"/> |
|
43 |
<xs:element ref="xjc:serializable"/> |
|
44 |
<xs:element ref="xjc:superClass"/> |
|
45 |
<xs:element ref="xjc:noMarshaller"/> |
|
46 |
<xs:element ref="xjc:noUnmarshaller"/> |
|
47 |
<xs:element ref="xjc:noValidator"/> |
|
48 |
<xs:element ref="xjc:noValidatingUnmarshaller"/> |
|
49 |
<xs:choice> |
|
50 |
<xs:group ref="toplevel.declaration"/> |
|
51 |
<xs:element ref="global.or.local.declaration"/> |
|
52 |
</xs:choice> |
|
53 |
</xs:choice> |
|
54 |
<xs:attribute name="version"> |
|
55 |
<xs:simpleType> |
|
56 |
<xs:restriction base="xs:token"> |
|
57 |
<xs:enumeration value="1.0ea2"/> |
|
58 |
</xs:restriction> |
|
59 |
</xs:simpleType> |
|
60 |
</xs:attribute> |
|
61 |
</xs:complexType> |
|
62 |
</xs:element> |
|
63 |
<xs:element name="options"> |
|
64 |
<xs:complexType> |
|
65 |
<xs:attribute name="package"/> |
|
66 |
</xs:complexType> |
|
67 |
</xs:element> |
|
68 |
<!-- element-class declaration --> |
|
69 |
<xs:group name="toplevel.declaration"> |
|
70 |
<xs:choice> |
|
71 |
<xs:element name="element"> |
|
72 |
<xs:complexType> |
|
73 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
74 |
<xs:element ref="attribute"/> |
|
75 |
<xs:element ref="global.or.local.declaration"/> |
|
76 |
<xs:element ref="constructor"/> |
|
77 |
<xs:element ref="content"/> |
|
78 |
</xs:choice> |
|
79 |
<xs:attribute name="name" use="required"/> |
|
80 |
<xs:attribute name="type" use="required"> |
|
81 |
<xs:simpleType> |
|
82 |
<xs:restriction base="xs:token"> |
|
83 |
<xs:enumeration value="class"/> |
|
84 |
<xs:enumeration value="value"/> |
|
85 |
</xs:restriction> |
|
86 |
</xs:simpleType> |
|
87 |
</xs:attribute> |
|
88 |
<xs:attribute name="class" type="java.classname.datatype"/> |
|
89 |
<xs:attribute name="root"> |
|
90 |
<xs:simpleType> |
|
91 |
<xs:restriction base="xs:token"> |
|
92 |
<xs:enumeration value="true"/> |
|
93 |
<xs:enumeration value="false"/> |
|
94 |
</xs:restriction> |
|
95 |
</xs:simpleType> |
|
96 |
</xs:attribute> |
|
97 |
<xs:attribute name="convert"/> |
|
98 |
</xs:complexType> |
|
99 |
</xs:element> |
|
100 |
<xs:element ref="interface"/> |
|
101 |
</xs:choice> |
|
102 |
</xs:group> |
|
103 |
<xs:element name="attribute"> |
|
104 |
<xs:complexType> |
|
105 |
<xs:attribute name="name" use="required"/> |
|
106 |
<xs:attribute name="property"/> |
|
107 |
<xs:attribute name="collection"> |
|
108 |
<xs:simpleType> |
|
109 |
<xs:restriction base="xs:token"> |
|
110 |
<xs:enumeration value="list"/> |
|
111 |
<xs:enumeration value="set"/> |
|
112 |
<xs:enumeration value="vector"/> |
|
113 |
</xs:restriction> |
|
114 |
</xs:simpleType> |
|
115 |
</xs:attribute> |
|
116 |
<xs:attribute name="convert"/> |
|
117 |
</xs:complexType> |
|
118 |
</xs:element> |
|
119 |
<xs:element name="constructor"> |
|
120 |
<xs:complexType> |
|
121 |
<xs:attribute name="properties" use="required"> |
|
122 |
<xs:simpleType> |
|
123 |
<xs:restriction> |
|
124 |
<xs:simpleType> |
|
125 |
<xs:list itemType="xs:token"/> |
|
126 |
</xs:simpleType> |
|
127 |
<xs:minLength value="1"/> |
|
128 |
</xs:restriction> |
|
129 |
</xs:simpleType> |
|
130 |
</xs:attribute> |
|
131 |
</xs:complexType> |
|
132 |
</xs:element> |
|
133 |
<xs:element name="content"> |
|
134 |
<xs:complexType> |
|
135 |
<xs:sequence minOccurs="0"> |
|
136 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
137 |
<xs:element ref="element-ref"/> |
|
138 |
<xs:choice> |
|
139 |
<xs:element ref="sequence"/> |
|
140 |
<xs:element ref="choice"/> |
|
141 |
</xs:choice> |
|
142 |
</xs:choice> |
|
143 |
<xs:element minOccurs="0" ref="rest"/> |
|
144 |
</xs:sequence> |
|
145 |
<xs:attribute name="property"/> |
|
146 |
<xs:attribute name="collection"> |
|
147 |
<xs:simpleType> |
|
148 |
<xs:restriction base="xs:token"> |
|
149 |
<xs:enumeration value="list"/> |
|
150 |
<xs:enumeration value="set"/> |
|
151 |
<xs:enumeration value="vector"/> |
|
152 |
</xs:restriction> |
|
153 |
</xs:simpleType> |
|
154 |
</xs:attribute> |
|
155 |
<xs:attribute name="supertype"/> |
|
156 |
</xs:complexType> |
|
157 |
</xs:element> |
|
158 |
<xs:element name="element-ref"> |
|
159 |
<xs:complexType> |
|
160 |
<xs:attribute name="name" use="required"/> |
|
161 |
<xs:attribute name="property"/> |
|
162 |
<xs:attribute name="collection"> |
|
163 |
<xs:simpleType> |
|
164 |
<xs:restriction base="xs:token"> |
|
165 |
<xs:enumeration value="list"/> |
|
166 |
<xs:enumeration value="set"/> |
|
167 |
<xs:enumeration value="vector"/> |
|
168 |
</xs:restriction> |
|
169 |
</xs:simpleType> |
|
170 |
</xs:attribute> |
|
171 |
</xs:complexType> |
|
172 |
</xs:element> |
|
173 |
<xs:element name="sequence"> |
|
174 |
<xs:complexType> |
|
175 |
<xs:attributeGroup ref="collection.particle.decl"/> |
|
176 |
</xs:complexType> |
|
177 |
</xs:element> |
|
178 |
<xs:element name="choice"> |
|
179 |
<xs:complexType> |
|
180 |
<xs:attributeGroup ref="collection.particle.decl"/> |
|
181 |
</xs:complexType> |
|
182 |
</xs:element> |
|
183 |
<xs:element name="rest"> |
|
184 |
<xs:complexType> |
|
185 |
<xs:attributeGroup ref="collection.particle.decl"/> |
|
186 |
</xs:complexType> |
|
187 |
</xs:element> |
|
188 |
<xs:element name="interface"> |
|
189 |
<xs:complexType> |
|
190 |
<xs:attribute name="name" use="required" type="java.classname.datatype"/> |
|
191 |
<xs:attribute name="members" use="required"> |
|
192 |
<xs:simpleType> |
|
193 |
<xs:restriction> |
|
194 |
<xs:simpleType> |
|
195 |
<xs:list itemType="java.classname.datatype"/> |
|
196 |
</xs:simpleType> |
|
197 |
<xs:minLength value="1"/> |
|
198 |
</xs:restriction> |
|
199 |
</xs:simpleType> |
|
200 |
</xs:attribute> |
|
201 |
</xs:complexType> |
|
202 |
</xs:element> |
|
203 |
<xs:attributeGroup name="collection.particle.decl"> |
|
204 |
<xs:attribute name="property" use="required"/> |
|
205 |
<xs:attribute name="collection"> |
|
206 |
<xs:simpleType> |
|
207 |
<xs:restriction base="xs:token"> |
|
208 |
<xs:enumeration value="list"/> |
|
209 |
<xs:enumeration value="set"/> |
|
210 |
<xs:enumeration value="vector"/> |
|
211 |
</xs:restriction> |
|
212 |
</xs:simpleType> |
|
213 |
</xs:attribute> |
|
214 |
<xs:attribute name="supertype"/> |
|
215 |
</xs:attributeGroup> |
|
216 |
<xs:attributeGroup name="collection.att"> |
|
217 |
<xs:attribute name="collection" use="required"> |
|
218 |
<xs:simpleType> |
|
219 |
<xs:restriction base="xs:token"> |
|
220 |
<xs:enumeration value="list"/> |
|
221 |
<xs:enumeration value="set"/> |
|
222 |
<xs:enumeration value="vector"/> |
|
223 |
</xs:restriction> |
|
224 |
</xs:simpleType> |
|
225 |
</xs:attribute> |
|
226 |
</xs:attributeGroup> |
|
227 |
<!-- conversion declaration --> |
|
228 |
<xs:element name="global.or.local.declaration" abstract="true"/> |
|
229 |
<xs:element name="conversion" substitutionGroup="global.or.local.declaration"> |
|
230 |
<xs:complexType> |
|
231 |
<xs:attribute name="name" use="required"/> |
|
232 |
<xs:attribute name="type"/> |
|
233 |
<xs:attribute name="parse"/> |
|
234 |
<xs:attribute name="print"/> |
|
235 |
<xs:attribute name="whitespace"> |
|
236 |
<xs:simpleType> |
|
237 |
<xs:restriction base="xs:token"> |
|
238 |
<xs:enumeration value="preserve"/> |
|
239 |
<xs:enumeration value="replace"/> |
|
240 |
<xs:enumeration value="collapse"/> |
|
241 |
</xs:restriction> |
|
242 |
</xs:simpleType> |
|
243 |
</xs:attribute> |
|
244 |
</xs:complexType> |
|
245 |
</xs:element> |
|
246 |
<xs:element name="enumeration" substitutionGroup="global.or.local.declaration"> |
|
247 |
<xs:complexType> |
|
248 |
<xs:attribute name="name" use="required" type="java.classname.datatype"/> |
|
249 |
<xs:attribute name="members" use="required"> |
|
250 |
<xs:simpleType> |
|
251 |
<xs:restriction> |
|
252 |
<xs:simpleType> |
|
253 |
<xs:list itemType="xs:token"/> |
|
254 |
</xs:simpleType> |
|
255 |
<xs:minLength value="1"/> |
|
256 |
</xs:restriction> |
|
257 |
</xs:simpleType> |
|
258 |
</xs:attribute> |
|
259 |
</xs:complexType> |
|
260 |
</xs:element> |
|
261 |
<!-- element-value declaration --> |
|
262 |
<!-- interface declaration --> |
|
263 |
<!-- enumeration declaration --> |
|
264 |
<!-- valid Java name --> |
|
265 |
<xs:simpleType name="java.name.datatype"> |
|
266 |
<xs:restriction base="xs:token"/> |
|
267 |
</xs:simpleType> |
|
268 |
<xs:simpleType name="java.classname.datatype"> |
|
269 |
<xs:restriction base="java.name.datatype"/> |
|
270 |
</xs:simpleType> |
|
271 |
</xs:schema> |