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 javax.xml.bind.annotation.XmlAccessType;
\r
12 import javax.xml.bind.annotation.XmlAccessorType;
\r
13 import javax.xml.bind.annotation.XmlAttribute;
\r
14 import javax.xml.bind.annotation.XmlSchemaType;
\r
15 import javax.xml.bind.annotation.XmlSeeAlso;
\r
16 import javax.xml.bind.annotation.XmlType;
\r
17 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
\r
18 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
\r
19 import javax.xml.namespace.QName;
\r
23 * <p>Java class for attribute complex type.
\r
25 * <p>The following schema fragment specifies the expected content contained within this class.
\r
28 * <complexType name="attribute">
\r
29 * <complexContent>
\r
30 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
32 * <element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" minOccurs="0"/>
\r
34 * <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
\r
35 * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
\r
36 * <attribute name="use" default="optional">
\r
38 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
\r
39 * <enumeration value="prohibited"/>
\r
40 * <enumeration value="optional"/>
\r
41 * <enumeration value="required"/>
\r
45 * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
\r
46 * <attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
\r
47 * <attribute name="form" type="{http://www.w3.org/2001/XMLSchema}formChoice" />
\r
48 * <anyAttribute processContents='lax' namespace='##other'/>
\r
50 * </complexContent>
\r
56 @XmlAccessorType(XmlAccessType.FIELD)
\r
57 @XmlType(name = "attribute", propOrder = {
\r
61 TopLevelAttribute.class
\r
63 public class Attribute
\r
67 protected LocalSimpleType simpleType;
\r
68 @XmlAttribute(name = "type")
\r
69 protected QName type;
\r
70 @XmlAttribute(name = "use")
\r
71 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
\r
72 protected String use;
\r
73 @XmlAttribute(name = "default")
\r
74 protected String _default;
\r
75 @XmlAttribute(name = "fixed")
\r
76 protected String fixed;
\r
77 @XmlAttribute(name = "form")
\r
78 protected FormChoice form;
\r
79 @XmlAttribute(name = "name")
\r
80 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
\r
81 @XmlSchemaType(name = "NCName")
\r
82 protected String name;
\r
83 @XmlAttribute(name = "ref")
\r
84 protected QName ref;
\r
87 * Gets the value of the simpleType property.
\r
90 * possible object is
\r
91 * {@link LocalSimpleType }
\r
94 public LocalSimpleType getSimpleType() {
\r
99 * Sets the value of the simpleType property.
\r
102 * allowed object is
\r
103 * {@link LocalSimpleType }
\r
106 public void setSimpleType(LocalSimpleType value) {
\r
107 this.simpleType = value;
\r
111 * Gets the value of the type property.
\r
114 * possible object is
\r
118 public QName getType() {
\r
123 * Sets the value of the type property.
\r
126 * allowed object is
\r
130 public void setType(QName value) {
\r
135 * Gets the value of the use property.
\r
138 * possible object is
\r
142 public String getUse() {
\r
151 * Sets the value of the use property.
\r
154 * allowed object is
\r
158 public void setUse(String value) {
\r
163 * Gets the value of the default property.
\r
166 * possible object is
\r
170 public String getDefault() {
\r
175 * Sets the value of the default property.
\r
178 * allowed object is
\r
182 public void setDefault(String value) {
\r
183 this._default = value;
\r
187 * Gets the value of the fixed property.
\r
190 * possible object is
\r
194 public String getFixed() {
\r
199 * Sets the value of the fixed property.
\r
202 * allowed object is
\r
206 public void setFixed(String value) {
\r
207 this.fixed = value;
\r
211 * Gets the value of the form property.
\r
214 * possible object is
\r
215 * {@link FormChoice }
\r
218 public FormChoice getForm() {
\r
223 * Sets the value of the form property.
\r
226 * allowed object is
\r
227 * {@link FormChoice }
\r
230 public void setForm(FormChoice value) {
\r
235 * Gets the value of the name property.
\r
238 * possible object is
\r
242 public String getName() {
\r
247 * Sets the value of the name property.
\r
250 * allowed object is
\r
254 public void setName(String value) {
\r
259 * Gets the value of the ref property.
\r
262 * possible object is
\r
266 public QName getRef() {
\r
271 * Sets the value of the ref property.
\r
274 * allowed object is
\r
278 public void setRef(QName value) {
\r