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.XmlSchemaType;
\r
19 import javax.xml.bind.annotation.XmlSeeAlso;
\r
20 import javax.xml.bind.annotation.XmlType;
\r
21 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
\r
22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
\r
23 import javax.xml.namespace.QName;
\r
27 * <p>Java class for attributeGroup complex type.
\r
29 * <p>The following schema fragment specifies the expected content contained within this class.
\r
32 * <complexType name="attributeGroup">
\r
33 * <complexContent>
\r
34 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
35 * <group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>
\r
36 * <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
\r
37 * <anyAttribute processContents='lax' namespace='##other'/>
\r
39 * </complexContent>
\r
45 @XmlAccessorType(XmlAccessType.FIELD)
\r
46 @XmlType(name = "attributeGroup", propOrder = {
\r
47 "attributeOrAttributeGroup",
\r
51 NamedAttributeGroup.class,
\r
52 AttributeGroupRef.class
\r
54 public abstract class AttributeGroup
\r
59 @XmlElement(name = "attribute", type = Attribute.class),
\r
60 @XmlElement(name = "attributeGroup", type = AttributeGroupRef.class)
\r
62 protected List<Annotated> attributeOrAttributeGroup;
\r
63 protected Wildcard anyAttribute;
\r
64 @XmlAttribute(name = "name")
\r
65 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
\r
66 @XmlSchemaType(name = "NCName")
\r
67 protected String name;
\r
68 @XmlAttribute(name = "ref")
\r
69 protected QName ref;
\r
72 * Gets the value of the attributeOrAttributeGroup property.
\r
75 * This accessor method returns a reference to the live list,
\r
76 * not a snapshot. Therefore any modification you make to the
\r
77 * returned list will be present inside the JAXB object.
\r
78 * This is why there is not a <CODE>set</CODE> method for the attributeOrAttributeGroup property.
\r
81 * For example, to add a new item, do as follows:
\r
83 * getAttributeOrAttributeGroup().add(newItem);
\r
88 * Objects of the following type(s) are allowed in the list
\r
89 * {@link Attribute }
\r
90 * {@link AttributeGroupRef }
\r
94 public List<Annotated> getAttributeOrAttributeGroup() {
\r
95 if (attributeOrAttributeGroup == null) {
\r
96 attributeOrAttributeGroup = new ArrayList<Annotated>();
\r
98 return this.attributeOrAttributeGroup;
\r
102 * Gets the value of the anyAttribute property.
\r
105 * possible object is
\r
106 * {@link Wildcard }
\r
109 public Wildcard getAnyAttribute() {
\r
110 return anyAttribute;
\r
114 * Sets the value of the anyAttribute property.
\r
117 * allowed object is
\r
118 * {@link Wildcard }
\r
121 public void setAnyAttribute(Wildcard value) {
\r
122 this.anyAttribute = value;
\r
126 * Gets the value of the name property.
\r
129 * possible object is
\r
133 public String getName() {
\r
138 * Sets the value of the name property.
\r
141 * allowed object is
\r
145 public void setName(String value) {
\r
150 * Gets the value of the ref property.
\r
153 * possible object is
\r
157 public QName getRef() {
\r
162 * Sets the value of the ref property.
\r
165 * allowed object is
\r
169 public void setRef(QName value) {
\r