IncludeType.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.11.03 at 01:02:34 PM CET
//
package org.opentrafficsim.road.network.factory.vissim.xsd;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>
* Java class for includeType complex type.
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="includeType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{http://www.w3.org/2001/XInclude}fallback"/>
* <any processContents='lax' namespace='##other'/>
* <any processContents='lax' namespace=''/>
* </choice>
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="parse" type="{http://www.w3.org/2001/XInclude}parseType" default="xml" />
* <attribute name="xpointer" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="accept" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="accept-language" type="{http://www.w3.org/2001/XMLSchema}string" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "includeType", namespace = "http://www.w3.org/2001/XInclude", propOrder = {"content"})
public class IncludeType
{
@XmlElementRef(name = "fallback", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class, required = false)
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
@XmlAttribute(name = "href")
@XmlSchemaType(name = "anyURI")
protected String href;
@XmlAttribute(name = "parse")
protected ParseType parse;
@XmlAttribute(name = "xpointer")
protected String xpointer;
@XmlAttribute(name = "encoding")
protected String encoding;
@XmlAttribute(name = "accept")
protected String accept;
@XmlAttribute(name = "accept-language")
protected String acceptLanguage;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new LinkedHashMap<QName, String>();
/**
* Gets the value of the content property.
* <p>
* This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the content
* property.
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getContent().add(newItem);
* </pre>
* <p>
* Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}{@link FallbackType }{@code >}
* {@link String } {@link Element } {@link Object }
*/
public List<Object> getContent()
{
if (content == null)
{
content = new ArrayList<Object>();
}
return this.content;
}
/**
* Gets the value of the href property.
* @return possible object is {@link String }
*/
public String getHref()
{
return href;
}
/**
* Sets the value of the href property.
* @param value String; allowed object is {@link String }
*/
public void setHref(String value)
{
this.href = value;
}
/**
* Gets the value of the parse property.
* @return possible object is {@link ParseType }
*/
public ParseType getParse()
{
if (parse == null)
{
return ParseType.XML;
}
else
{
return parse;
}
}
/**
* Sets the value of the parse property.
* @param value ParseType; allowed object is {@link ParseType }
*/
public void setParse(ParseType value)
{
this.parse = value;
}
/**
* Gets the value of the xpointer property.
* @return possible object is {@link String }
*/
public String getXpointer()
{
return xpointer;
}
/**
* Sets the value of the xpointer property.
* @param value String; allowed object is {@link String }
*/
public void setXpointer(String value)
{
this.xpointer = value;
}
/**
* Gets the value of the encoding property.
* @return possible object is {@link String }
*/
public String getEncoding()
{
return encoding;
}
/**
* Sets the value of the encoding property.
* @param value String; allowed object is {@link String }
*/
public void setEncoding(String value)
{
this.encoding = value;
}
/**
* Gets the value of the accept property.
* @return possible object is {@link String }
*/
public String getAccept()
{
return accept;
}
/**
* Sets the value of the accept property.
* @param value String; allowed object is {@link String }
*/
public void setAccept(String value)
{
this.accept = value;
}
/**
* Gets the value of the acceptLanguage property.
* @return possible object is {@link String }
*/
public String getAcceptLanguage()
{
return acceptLanguage;
}
/**
* Sets the value of the acceptLanguage property.
* @param value String; allowed object is {@link String }
*/
public void setAcceptLanguage(String value)
{
this.acceptLanguage = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
* <p>
* the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by
* this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no
* setter.
* @return always non-null
*/
public Map<QName, String> getOtherAttributes()
{
return otherAttributes;
}
}