|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlhammer.model.project.Parser
public class Parser
Java class for parser element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="parser">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded">
<element ref="{http://www.xmlhammer.org/2007/project}source"/>
</sequence>
<attribute name="language" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="namespaceAware" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="type" default="dom">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="dom"/>
<enumeration value="sax"/>
</restriction>
</simpleType>
</attribute>
<attribute name="validating" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="xincludeAware" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
</element>
| Field Summary | |
|---|---|
protected java.lang.String |
language
|
protected java.lang.Boolean |
namespaceAware
|
protected java.util.List<Source> |
source
|
protected java.lang.String |
type
|
protected java.lang.Boolean |
validating
|
protected java.lang.Boolean |
xincludeAware
|
| Constructor Summary | |
|---|---|
Parser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
Gets the value of the language property. |
java.util.List<Source> |
getSource()
Gets the value of the source property. |
java.lang.String |
getType()
Gets the value of the type property. |
boolean |
isNamespaceAware()
Gets the value of the namespaceAware property. |
boolean |
isValidating()
Gets the value of the validating property. |
boolean |
isXincludeAware()
Gets the value of the xincludeAware property. |
void |
setLanguage(java.lang.String value)
Sets the value of the language property. |
void |
setNamespaceAware(java.lang.Boolean value)
Sets the value of the namespaceAware property. |
void |
setType(java.lang.String value)
Sets the value of the type property. |
void |
setValidating(java.lang.Boolean value)
Sets the value of the validating property. |
void |
setXincludeAware(java.lang.Boolean value)
Sets the value of the xincludeAware property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Source> source
protected java.lang.String language
protected java.lang.Boolean namespaceAware
protected java.lang.String type
protected java.lang.Boolean validating
protected java.lang.Boolean xincludeAware
| Constructor Detail |
|---|
public Parser()
| Method Detail |
|---|
public java.util.List<Source> getSource()
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 source property.
For example, to add a new item, do as follows:
getSource().add(newItem);
Objects of the following type(s) are allowed in the list
Source
public java.lang.String getLanguage()
Stringpublic void setLanguage(java.lang.String value)
value - allowed object is
Stringpublic boolean isNamespaceAware()
Booleanpublic void setNamespaceAware(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic boolean isValidating()
Booleanpublic void setValidating(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isXincludeAware()
Booleanpublic void setXincludeAware(java.lang.Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||