View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2019.04.20 at 02:12:22 AM CEST 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import java.util.ArrayList;
13  import java.util.HashMap;
14  import java.util.List;
15  import java.util.Map;
16  import javax.annotation.Generated;
17  import javax.xml.bind.JAXBElement;
18  import javax.xml.bind.annotation.XmlAccessType;
19  import javax.xml.bind.annotation.XmlAccessorType;
20  import javax.xml.bind.annotation.XmlAnyAttribute;
21  import javax.xml.bind.annotation.XmlAnyElement;
22  import javax.xml.bind.annotation.XmlAttribute;
23  import javax.xml.bind.annotation.XmlElementRef;
24  import javax.xml.bind.annotation.XmlMixed;
25  import javax.xml.bind.annotation.XmlSchemaType;
26  import javax.xml.bind.annotation.XmlType;
27  import javax.xml.namespace.QName;
28  import org.w3c.dom.Element;
29  
30  
31  /**
32   * <p>Java class for includeType complex type.
33   * 
34   * <p>The following schema fragment specifies the expected content contained within this class.
35   * 
36   * <pre>
37   * &lt;complexType name="includeType"&gt;
38   *   &lt;complexContent&gt;
39   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
40   *       &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
41   *         &lt;element ref="{http://www.w3.org/2001/XInclude}fallback"/&gt;
42   *         &lt;any processContents='lax' namespace='##other'/&gt;
43   *         &lt;any processContents='lax' namespace=''/&gt;
44   *       &lt;/choice&gt;
45   *       &lt;attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
46   *       &lt;attribute name="parse" type="{http://www.w3.org/2001/XInclude}parseType" default="xml" /&gt;
47   *       &lt;attribute name="xpointer" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
48   *       &lt;attribute name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
49   *       &lt;attribute name="accept" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
50   *       &lt;attribute name="accept-language" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
51   *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
52   *     &lt;/restriction&gt;
53   *   &lt;/complexContent&gt;
54   * &lt;/complexType&gt;
55   * </pre>
56   * 
57   * 
58   */
59  @XmlAccessorType(XmlAccessType.FIELD)
60  @XmlType(name = "includeType", namespace = "http://www.w3.org/2001/XInclude", propOrder = {
61      "content"
62  })
63  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
64  public class IncludeType implements Serializable
65  {
66  
67      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
68      private final static long serialVersionUID = 10102L;
69      @XmlElementRef(name = "fallback", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class, required = false)
70      @XmlMixed
71      @XmlAnyElement(lax = true)
72      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
73      protected List<Object> content;
74      @XmlAttribute(name = "href")
75      @XmlSchemaType(name = "anyURI")
76      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
77      protected String href;
78      @XmlAttribute(name = "parse")
79      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
80      protected ParseType parse;
81      @XmlAttribute(name = "xpointer")
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
83      protected String xpointer;
84      @XmlAttribute(name = "encoding")
85      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
86      protected String encoding;
87      @XmlAttribute(name = "accept")
88      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
89      protected String accept;
90      @XmlAttribute(name = "accept-language")
91      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
92      protected String acceptLanguage;
93      @XmlAnyAttribute
94      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
95      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
96  
97      /**
98       * Gets the value of the content property.
99       * 
100      * <p>
101      * This accessor method returns a reference to the live list,
102      * not a snapshot. Therefore any modification you make to the
103      * returned list will be present inside the JAXB object.
104      * This is why there is not a <CODE>set</CODE> method for the content property.
105      * 
106      * <p>
107      * For example, to add a new item, do as follows:
108      * <pre>
109      *    getContent().add(newItem);
110      * </pre>
111      * 
112      * 
113      * <p>
114      * Objects of the following type(s) are allowed in the list
115      * {@link JAXBElement }{@code <}{@link FallbackType }{@code >}
116      * {@link Element }
117      * {@link Object }
118      * {@link String }
119      * 
120      * 
121      */
122     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
123     public List<Object> getContent() {
124         if (content == null) {
125             content = new ArrayList<Object>();
126         }
127         return this.content;
128     }
129 
130     /**
131      * Gets the value of the href property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
139     public String getHref() {
140         return href;
141     }
142 
143     /**
144      * Sets the value of the href property.
145      * 
146      * @param value
147      *     allowed object is
148      *     {@link String }
149      *     
150      */
151     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
152     public void setHref(String value) {
153         this.href = value;
154     }
155 
156     /**
157      * Gets the value of the parse property.
158      * 
159      * @return
160      *     possible object is
161      *     {@link ParseType }
162      *     
163      */
164     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
165     public ParseType getParse() {
166         if (parse == null) {
167             return ParseType.XML;
168         } else {
169             return parse;
170         }
171     }
172 
173     /**
174      * Sets the value of the parse property.
175      * 
176      * @param value
177      *     allowed object is
178      *     {@link ParseType }
179      *     
180      */
181     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
182     public void setParse(ParseType value) {
183         this.parse = value;
184     }
185 
186     /**
187      * Gets the value of the xpointer property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link String }
192      *     
193      */
194     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
195     public String getXpointer() {
196         return xpointer;
197     }
198 
199     /**
200      * Sets the value of the xpointer property.
201      * 
202      * @param value
203      *     allowed object is
204      *     {@link String }
205      *     
206      */
207     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
208     public void setXpointer(String value) {
209         this.xpointer = value;
210     }
211 
212     /**
213      * Gets the value of the encoding property.
214      * 
215      * @return
216      *     possible object is
217      *     {@link String }
218      *     
219      */
220     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
221     public String getEncoding() {
222         return encoding;
223     }
224 
225     /**
226      * Sets the value of the encoding property.
227      * 
228      * @param value
229      *     allowed object is
230      *     {@link String }
231      *     
232      */
233     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
234     public void setEncoding(String value) {
235         this.encoding = value;
236     }
237 
238     /**
239      * Gets the value of the accept property.
240      * 
241      * @return
242      *     possible object is
243      *     {@link String }
244      *     
245      */
246     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
247     public String getAccept() {
248         return accept;
249     }
250 
251     /**
252      * Sets the value of the accept property.
253      * 
254      * @param value
255      *     allowed object is
256      *     {@link String }
257      *     
258      */
259     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
260     public void setAccept(String value) {
261         this.accept = value;
262     }
263 
264     /**
265      * Gets the value of the acceptLanguage property.
266      * 
267      * @return
268      *     possible object is
269      *     {@link String }
270      *     
271      */
272     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
273     public String getAcceptLanguage() {
274         return acceptLanguage;
275     }
276 
277     /**
278      * Sets the value of the acceptLanguage property.
279      * 
280      * @param value
281      *     allowed object is
282      *     {@link String }
283      *     
284      */
285     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
286     public void setAcceptLanguage(String value) {
287         this.acceptLanguage = value;
288     }
289 
290     /**
291      * Gets a map that contains attributes that aren't bound to any typed property on this class.
292      * 
293      * <p>
294      * the map is keyed by the name of the attribute and 
295      * the value is the string value of the attribute.
296      * 
297      * the map returned by this method is live, and you can add new attribute
298      * by updating the map directly. Because of this design, there's no setter.
299      * 
300      * 
301      * @return
302      *     always non-null
303      */
304     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
305     public Map<QName, String> getOtherAttributes() {
306         return otherAttributes;
307     }
308 
309 }