public class IncludeType extends Object
Java class for includeType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
Modifier and Type | Field and Description |
---|---|
protected String |
accept |
protected String |
acceptLanguage |
protected List<Object> |
content |
protected String |
encoding |
protected String |
href |
protected ParseType |
parse |
protected String |
xpointer |
Constructor and Description |
---|
IncludeType() |
Modifier and Type | Method and Description |
---|---|
String |
getAccept()
Gets the value of the accept property.
|
String |
getAcceptLanguage()
Gets the value of the acceptLanguage property.
|
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getEncoding()
Gets the value of the encoding property.
|
String |
getHref()
Gets the value of the href property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
ParseType |
getParse()
Gets the value of the parse property.
|
String |
getXpointer()
Gets the value of the xpointer property.
|
void |
setAccept(String value)
Sets the value of the accept property.
|
void |
setAcceptLanguage(String value)
Sets the value of the acceptLanguage property.
|
void |
setEncoding(String value)
Sets the value of the encoding property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setParse(ParseType value)
Sets the value of the parse property.
|
void |
setXpointer(String value)
Sets the value of the xpointer property.
|
protected String href
protected ParseType parse
protected String xpointer
protected String encoding
protected String accept
protected String acceptLanguage
public List<Object> getContent()
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 set
method for the content
property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list JAXBElement
<
FallbackType
>
String
Element
Object
public String getHref()
String
public void setHref(String value)
value
- String; allowed object is String
public ParseType getParse()
ParseType
public void setParse(ParseType value)
value
- ParseType; allowed object is ParseType
public String getXpointer()
String
public void setXpointer(String value)
value
- String; allowed object is String
public String getEncoding()
String
public void setEncoding(String value)
value
- String; allowed object is String
public String getAccept()
String
public void setAccept(String value)
value
- String; allowed object is String
public String getAcceptLanguage()
String
public void setAcceptLanguage(String value)
value
- String; allowed object is String
public Map<QName,String> getOtherAttributes()
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.
Copyright © 2014–2019 Delft University of Technology. All rights reserved.