org.xmlhammer.model.project
Class Parser

java.lang.Object
  extended by org.xmlhammer.model.project.Parser

public class Parser
extends java.lang.Object

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

source

protected java.util.List<Source> source

language

protected java.lang.String language

namespaceAware

protected java.lang.Boolean namespaceAware

type

protected java.lang.String type

validating

protected java.lang.Boolean validating

xincludeAware

protected java.lang.Boolean xincludeAware
Constructor Detail

Parser

public Parser()
Method Detail

getSource

public java.util.List<Source> getSource()
Gets the value of the source property.

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


getLanguage

public java.lang.String getLanguage()
Gets the value of the language property.

Returns:
possible object is String

setLanguage

public void setLanguage(java.lang.String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

isNamespaceAware

public boolean isNamespaceAware()
Gets the value of the namespaceAware property.

Returns:
possible object is Boolean

setNamespaceAware

public void setNamespaceAware(java.lang.Boolean value)
Sets the value of the namespaceAware property.

Parameters:
value - allowed object is Boolean

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

isValidating

public boolean isValidating()
Gets the value of the validating property.

Returns:
possible object is Boolean

setValidating

public void setValidating(java.lang.Boolean value)
Sets the value of the validating property.

Parameters:
value - allowed object is Boolean

isXincludeAware

public boolean isXincludeAware()
Gets the value of the xincludeAware property.

Returns:
possible object is Boolean

setXincludeAware

public void setXincludeAware(java.lang.Boolean value)
Sets the value of the xincludeAware property.

Parameters:
value - allowed object is Boolean


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.