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