]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Schema.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Schema.java
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
4 // Any modifications to this file will be lost upon recompilation of the source schema. \r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST \r
6 //\r
7 \r
8 \r
9 package org.w3._2001.xmlschema;\r
10 \r
11 import java.util.ArrayList;\r
12 import java.util.List;\r
13 import javax.xml.bind.annotation.XmlAccessType;\r
14 import javax.xml.bind.annotation.XmlAccessorType;\r
15 import javax.xml.bind.annotation.XmlAttribute;\r
16 import javax.xml.bind.annotation.XmlElement;\r
17 import javax.xml.bind.annotation.XmlElements;\r
18 import javax.xml.bind.annotation.XmlID;\r
19 import javax.xml.bind.annotation.XmlRootElement;\r
20 import javax.xml.bind.annotation.XmlSchemaType;\r
21 import javax.xml.bind.annotation.XmlType;\r
22 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
23 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
24 \r
25 \r
26 /**\r
27  * <p>Java class for anonymous complex type.\r
28  * \r
29  * <p>The following schema fragment specifies the expected content contained within this class.\r
30  * \r
31  * <pre>\r
32  * &lt;complexType>\r
33  *   &lt;complexContent>\r
34  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">\r
35  *       &lt;sequence>\r
36  *         &lt;choice maxOccurs="unbounded" minOccurs="0">\r
37  *           &lt;element ref="{http://www.w3.org/2001/XMLSchema}include"/>\r
38  *           &lt;element ref="{http://www.w3.org/2001/XMLSchema}import"/>\r
39  *           &lt;element ref="{http://www.w3.org/2001/XMLSchema}redefine"/>\r
40  *           &lt;element ref="{http://www.w3.org/2001/XMLSchema}annotation"/>\r
41  *         &lt;/choice>\r
42  *         &lt;sequence maxOccurs="unbounded" minOccurs="0">\r
43  *           &lt;group ref="{http://www.w3.org/2001/XMLSchema}schemaTop"/>\r
44  *           &lt;element ref="{http://www.w3.org/2001/XMLSchema}annotation" maxOccurs="unbounded" minOccurs="0"/>\r
45  *         &lt;/sequence>\r
46  *       &lt;/sequence>\r
47  *       &lt;attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />\r
48  *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}token" />\r
49  *       &lt;attribute name="finalDefault" type="{http://www.w3.org/2001/XMLSchema}fullDerivationSet" default="" />\r
50  *       &lt;attribute name="blockDefault" type="{http://www.w3.org/2001/XMLSchema}blockSet" default="" />\r
51  *       &lt;attribute name="attributeFormDefault" type="{http://www.w3.org/2001/XMLSchema}formChoice" default="unqualified" />\r
52  *       &lt;attribute name="elementFormDefault" type="{http://www.w3.org/2001/XMLSchema}formChoice" default="unqualified" />\r
53  *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />\r
54  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>\r
55  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
56  *     &lt;/extension>\r
57  *   &lt;/complexContent>\r
58  * &lt;/complexType>\r
59  * </pre>\r
60  * \r
61  * \r
62  */\r
63 @XmlAccessorType(XmlAccessType.FIELD)\r
64 @XmlType(name = "", propOrder = {\r
65     "includeOrImportOrRedefine",\r
66     "simpleTypeOrComplexTypeOrGroup"\r
67 })\r
68 @XmlRootElement(name = "schema")\r
69 public class Schema\r
70     extends OpenAttrs\r
71 {\r
72 \r
73     @XmlElements({\r
74         @XmlElement(name = "include", type = Include.class),\r
75         @XmlElement(name = "import", type = Import.class),\r
76         @XmlElement(name = "redefine", type = Redefine.class),\r
77         @XmlElement(name = "annotation", type = Annotation.class)\r
78     })\r
79     protected List<OpenAttrs> includeOrImportOrRedefine;\r
80     @XmlElements({\r
81         @XmlElement(name = "simpleType", type = TopLevelSimpleType.class),\r
82         @XmlElement(name = "complexType", type = TopLevelComplexType.class),\r
83         @XmlElement(name = "group", type = NamedGroup.class),\r
84         @XmlElement(name = "attributeGroup", type = NamedAttributeGroup.class),\r
85         @XmlElement(name = "element", type = TopLevelElement.class),\r
86         @XmlElement(name = "attribute", type = TopLevelAttribute.class),\r
87         @XmlElement(name = "notation", type = Notation.class),\r
88         @XmlElement(name = "annotation", type = Annotation.class)\r
89     })\r
90     protected List<OpenAttrs> simpleTypeOrComplexTypeOrGroup;\r
91     @XmlAttribute(name = "targetNamespace")\r
92     @XmlSchemaType(name = "anyURI")\r
93     protected String targetNamespace;\r
94     @XmlAttribute(name = "version")\r
95     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
96     @XmlSchemaType(name = "token")\r
97     protected String version;\r
98     @XmlAttribute(name = "finalDefault")\r
99     @XmlSchemaType(name = "fullDerivationSet")\r
100     protected List<String> finalDefault;\r
101     @XmlAttribute(name = "blockDefault")\r
102     @XmlSchemaType(name = "blockSet")\r
103     protected List<String> blockDefault;\r
104     @XmlAttribute(name = "attributeFormDefault")\r
105     protected FormChoice attributeFormDefault;\r
106     @XmlAttribute(name = "elementFormDefault")\r
107     protected FormChoice elementFormDefault;\r
108     @XmlAttribute(name = "id")\r
109     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
110     @XmlID\r
111     @XmlSchemaType(name = "ID")\r
112     protected String id;\r
113     @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")\r
114     protected String lang;\r
115 \r
116     /**\r
117      * Gets the value of the includeOrImportOrRedefine property.\r
118      * \r
119      * <p>\r
120      * This accessor method returns a reference to the live list,\r
121      * not a snapshot. Therefore any modification you make to the\r
122      * returned list will be present inside the JAXB object.\r
123      * This is why there is not a <CODE>set</CODE> method for the includeOrImportOrRedefine property.\r
124      * \r
125      * <p>\r
126      * For example, to add a new item, do as follows:\r
127      * <pre>\r
128      *    getIncludeOrImportOrRedefine().add(newItem);\r
129      * </pre>\r
130      * \r
131      * \r
132      * <p>\r
133      * Objects of the following type(s) are allowed in the list\r
134      * {@link Include }\r
135      * {@link Import }\r
136      * {@link Redefine }\r
137      * {@link Annotation }\r
138      * \r
139      * \r
140      */\r
141     public List<OpenAttrs> getIncludeOrImportOrRedefine() {\r
142         if (includeOrImportOrRedefine == null) {\r
143             includeOrImportOrRedefine = new ArrayList<OpenAttrs>();\r
144         }\r
145         return this.includeOrImportOrRedefine;\r
146     }\r
147 \r
148     /**\r
149      * Gets the value of the simpleTypeOrComplexTypeOrGroup property.\r
150      * \r
151      * <p>\r
152      * This accessor method returns a reference to the live list,\r
153      * not a snapshot. Therefore any modification you make to the\r
154      * returned list will be present inside the JAXB object.\r
155      * This is why there is not a <CODE>set</CODE> method for the simpleTypeOrComplexTypeOrGroup property.\r
156      * \r
157      * <p>\r
158      * For example, to add a new item, do as follows:\r
159      * <pre>\r
160      *    getSimpleTypeOrComplexTypeOrGroup().add(newItem);\r
161      * </pre>\r
162      * \r
163      * \r
164      * <p>\r
165      * Objects of the following type(s) are allowed in the list\r
166      * {@link TopLevelSimpleType }\r
167      * {@link TopLevelComplexType }\r
168      * {@link NamedGroup }\r
169      * {@link NamedAttributeGroup }\r
170      * {@link TopLevelElement }\r
171      * {@link TopLevelAttribute }\r
172      * {@link Notation }\r
173      * {@link Annotation }\r
174      * \r
175      * \r
176      */\r
177     public List<OpenAttrs> getSimpleTypeOrComplexTypeOrGroup() {\r
178         if (simpleTypeOrComplexTypeOrGroup == null) {\r
179             simpleTypeOrComplexTypeOrGroup = new ArrayList<OpenAttrs>();\r
180         }\r
181         return this.simpleTypeOrComplexTypeOrGroup;\r
182     }\r
183 \r
184     /**\r
185      * Gets the value of the targetNamespace property.\r
186      * \r
187      * @return\r
188      *     possible object is\r
189      *     {@link String }\r
190      *     \r
191      */\r
192     public String getTargetNamespace() {\r
193         return targetNamespace;\r
194     }\r
195 \r
196     /**\r
197      * Sets the value of the targetNamespace property.\r
198      * \r
199      * @param value\r
200      *     allowed object is\r
201      *     {@link String }\r
202      *     \r
203      */\r
204     public void setTargetNamespace(String value) {\r
205         this.targetNamespace = value;\r
206     }\r
207 \r
208     /**\r
209      * Gets the value of the version property.\r
210      * \r
211      * @return\r
212      *     possible object is\r
213      *     {@link String }\r
214      *     \r
215      */\r
216     public String getVersion() {\r
217         return version;\r
218     }\r
219 \r
220     /**\r
221      * Sets the value of the version property.\r
222      * \r
223      * @param value\r
224      *     allowed object is\r
225      *     {@link String }\r
226      *     \r
227      */\r
228     public void setVersion(String value) {\r
229         this.version = value;\r
230     }\r
231 \r
232     /**\r
233      * Gets the value of the finalDefault property.\r
234      * \r
235      * <p>\r
236      * This accessor method returns a reference to the live list,\r
237      * not a snapshot. Therefore any modification you make to the\r
238      * returned list will be present inside the JAXB object.\r
239      * This is why there is not a <CODE>set</CODE> method for the finalDefault property.\r
240      * \r
241      * <p>\r
242      * For example, to add a new item, do as follows:\r
243      * <pre>\r
244      *    getFinalDefault().add(newItem);\r
245      * </pre>\r
246      * \r
247      * \r
248      * <p>\r
249      * Objects of the following type(s) are allowed in the list\r
250      * {@link String }\r
251      * \r
252      * \r
253      */\r
254     public List<String> getFinalDefault() {\r
255         if (finalDefault == null) {\r
256             finalDefault = new ArrayList<String>();\r
257         }\r
258         return this.finalDefault;\r
259     }\r
260 \r
261     /**\r
262      * Gets the value of the blockDefault property.\r
263      * \r
264      * <p>\r
265      * This accessor method returns a reference to the live list,\r
266      * not a snapshot. Therefore any modification you make to the\r
267      * returned list will be present inside the JAXB object.\r
268      * This is why there is not a <CODE>set</CODE> method for the blockDefault property.\r
269      * \r
270      * <p>\r
271      * For example, to add a new item, do as follows:\r
272      * <pre>\r
273      *    getBlockDefault().add(newItem);\r
274      * </pre>\r
275      * \r
276      * \r
277      * <p>\r
278      * Objects of the following type(s) are allowed in the list\r
279      * {@link String }\r
280      * \r
281      * \r
282      */\r
283     public List<String> getBlockDefault() {\r
284         if (blockDefault == null) {\r
285             blockDefault = new ArrayList<String>();\r
286         }\r
287         return this.blockDefault;\r
288     }\r
289 \r
290     /**\r
291      * Gets the value of the attributeFormDefault property.\r
292      * \r
293      * @return\r
294      *     possible object is\r
295      *     {@link FormChoice }\r
296      *     \r
297      */\r
298     public FormChoice getAttributeFormDefault() {\r
299         if (attributeFormDefault == null) {\r
300             return FormChoice.UNQUALIFIED;\r
301         } else {\r
302             return attributeFormDefault;\r
303         }\r
304     }\r
305 \r
306     /**\r
307      * Sets the value of the attributeFormDefault property.\r
308      * \r
309      * @param value\r
310      *     allowed object is\r
311      *     {@link FormChoice }\r
312      *     \r
313      */\r
314     public void setAttributeFormDefault(FormChoice value) {\r
315         this.attributeFormDefault = value;\r
316     }\r
317 \r
318     /**\r
319      * Gets the value of the elementFormDefault property.\r
320      * \r
321      * @return\r
322      *     possible object is\r
323      *     {@link FormChoice }\r
324      *     \r
325      */\r
326     public FormChoice getElementFormDefault() {\r
327         if (elementFormDefault == null) {\r
328             return FormChoice.UNQUALIFIED;\r
329         } else {\r
330             return elementFormDefault;\r
331         }\r
332     }\r
333 \r
334     /**\r
335      * Sets the value of the elementFormDefault property.\r
336      * \r
337      * @param value\r
338      *     allowed object is\r
339      *     {@link FormChoice }\r
340      *     \r
341      */\r
342     public void setElementFormDefault(FormChoice value) {\r
343         this.elementFormDefault = value;\r
344     }\r
345 \r
346     /**\r
347      * Gets the value of the id property.\r
348      * \r
349      * @return\r
350      *     possible object is\r
351      *     {@link String }\r
352      *     \r
353      */\r
354     public String getId() {\r
355         return id;\r
356     }\r
357 \r
358     /**\r
359      * Sets the value of the id property.\r
360      * \r
361      * @param value\r
362      *     allowed object is\r
363      *     {@link String }\r
364      *     \r
365      */\r
366     public void setId(String value) {\r
367         this.id = value;\r
368     }\r
369 \r
370     /**\r
371      * Gets the value of the lang property.\r
372      * \r
373      * @return\r
374      *     possible object is\r
375      *     {@link String }\r
376      *     \r
377      */\r
378     public String getLang() {\r
379         return lang;\r
380     }\r
381 \r
382     /**\r
383      * Sets the value of the lang property.\r
384      * \r
385      * @param value\r
386      *     allowed object is\r
387      *     {@link String }\r
388      *     \r
389      */\r
390     public void setLang(String value) {\r
391         this.lang = value;\r
392     }\r
393 \r
394 }\r