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
9 package org.w3._2001.xmlschema;
\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
27 * <p>Java class for anonymous complex type.
\r
29 * <p>The following schema fragment specifies the expected content contained within this class.
\r
33 * <complexContent>
\r
34 * <extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">
\r
36 * <choice maxOccurs="unbounded" minOccurs="0">
\r
37 * <element ref="{http://www.w3.org/2001/XMLSchema}include"/>
\r
38 * <element ref="{http://www.w3.org/2001/XMLSchema}import"/>
\r
39 * <element ref="{http://www.w3.org/2001/XMLSchema}redefine"/>
\r
40 * <element ref="{http://www.w3.org/2001/XMLSchema}annotation"/>
\r
42 * <sequence maxOccurs="unbounded" minOccurs="0">
\r
43 * <group ref="{http://www.w3.org/2001/XMLSchema}schemaTop"/>
\r
44 * <element ref="{http://www.w3.org/2001/XMLSchema}annotation" maxOccurs="unbounded" minOccurs="0"/>
\r
47 * <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
\r
48 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}token" />
\r
49 * <attribute name="finalDefault" type="{http://www.w3.org/2001/XMLSchema}fullDerivationSet" default="" />
\r
50 * <attribute name="blockDefault" type="{http://www.w3.org/2001/XMLSchema}blockSet" default="" />
\r
51 * <attribute name="attributeFormDefault" type="{http://www.w3.org/2001/XMLSchema}formChoice" default="unqualified" />
\r
52 * <attribute name="elementFormDefault" type="{http://www.w3.org/2001/XMLSchema}formChoice" default="unqualified" />
\r
53 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
\r
54 * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
\r
55 * <anyAttribute processContents='lax' namespace='##other'/>
\r
57 * </complexContent>
\r
63 @XmlAccessorType(XmlAccessType.FIELD)
\r
64 @XmlType(name = "", propOrder = {
\r
65 "includeOrImportOrRedefine",
\r
66 "simpleTypeOrComplexTypeOrGroup"
\r
68 @XmlRootElement(name = "schema")
\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
79 protected List<OpenAttrs> includeOrImportOrRedefine;
\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
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
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
117 * Gets the value of the includeOrImportOrRedefine property.
\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
126 * For example, to add a new item, do as follows:
\r
128 * getIncludeOrImportOrRedefine().add(newItem);
\r
133 * Objects of the following type(s) are allowed in the list
\r
136 * {@link Redefine }
\r
137 * {@link Annotation }
\r
141 public List<OpenAttrs> getIncludeOrImportOrRedefine() {
\r
142 if (includeOrImportOrRedefine == null) {
\r
143 includeOrImportOrRedefine = new ArrayList<OpenAttrs>();
\r
145 return this.includeOrImportOrRedefine;
\r
149 * Gets the value of the simpleTypeOrComplexTypeOrGroup property.
\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
158 * For example, to add a new item, do as follows:
\r
160 * getSimpleTypeOrComplexTypeOrGroup().add(newItem);
\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
177 public List<OpenAttrs> getSimpleTypeOrComplexTypeOrGroup() {
\r
178 if (simpleTypeOrComplexTypeOrGroup == null) {
\r
179 simpleTypeOrComplexTypeOrGroup = new ArrayList<OpenAttrs>();
\r
181 return this.simpleTypeOrComplexTypeOrGroup;
\r
185 * Gets the value of the targetNamespace property.
\r
188 * possible object is
\r
192 public String getTargetNamespace() {
\r
193 return targetNamespace;
\r
197 * Sets the value of the targetNamespace property.
\r
200 * allowed object is
\r
204 public void setTargetNamespace(String value) {
\r
205 this.targetNamespace = value;
\r
209 * Gets the value of the version property.
\r
212 * possible object is
\r
216 public String getVersion() {
\r
221 * Sets the value of the version property.
\r
224 * allowed object is
\r
228 public void setVersion(String value) {
\r
229 this.version = value;
\r
233 * Gets the value of the finalDefault property.
\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
242 * For example, to add a new item, do as follows:
\r
244 * getFinalDefault().add(newItem);
\r
249 * Objects of the following type(s) are allowed in the list
\r
254 public List<String> getFinalDefault() {
\r
255 if (finalDefault == null) {
\r
256 finalDefault = new ArrayList<String>();
\r
258 return this.finalDefault;
\r
262 * Gets the value of the blockDefault property.
\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
271 * For example, to add a new item, do as follows:
\r
273 * getBlockDefault().add(newItem);
\r
278 * Objects of the following type(s) are allowed in the list
\r
283 public List<String> getBlockDefault() {
\r
284 if (blockDefault == null) {
\r
285 blockDefault = new ArrayList<String>();
\r
287 return this.blockDefault;
\r
291 * Gets the value of the attributeFormDefault property.
\r
294 * possible object is
\r
295 * {@link FormChoice }
\r
298 public FormChoice getAttributeFormDefault() {
\r
299 if (attributeFormDefault == null) {
\r
300 return FormChoice.UNQUALIFIED;
\r
302 return attributeFormDefault;
\r
307 * Sets the value of the attributeFormDefault property.
\r
310 * allowed object is
\r
311 * {@link FormChoice }
\r
314 public void setAttributeFormDefault(FormChoice value) {
\r
315 this.attributeFormDefault = value;
\r
319 * Gets the value of the elementFormDefault property.
\r
322 * possible object is
\r
323 * {@link FormChoice }
\r
326 public FormChoice getElementFormDefault() {
\r
327 if (elementFormDefault == null) {
\r
328 return FormChoice.UNQUALIFIED;
\r
330 return elementFormDefault;
\r
335 * Sets the value of the elementFormDefault property.
\r
338 * allowed object is
\r
339 * {@link FormChoice }
\r
342 public void setElementFormDefault(FormChoice value) {
\r
343 this.elementFormDefault = value;
\r
347 * Gets the value of the id property.
\r
350 * possible object is
\r
354 public String getId() {
\r
359 * Sets the value of the id property.
\r
362 * allowed object is
\r
366 public void setId(String value) {
\r
371 * Gets the value of the lang property.
\r
374 * possible object is
\r
378 public String getLang() {
\r
383 * Sets the value of the lang property.
\r
386 * allowed object is
\r
390 public void setLang(String value) {
\r