nu.validator.saxtree
Class Element

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.ParentNode
          extended by nu.validator.saxtree.Element
All Implemented Interfaces:
Locator

public final class Element
extends ParentNode


Field Summary
private  Attributes attributes
           
private  String localName
           
private  List<PrefixMapping> prefixMappings
           
private  String qName
           
private  String uri
           
 
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
 
Constructor Summary
Element(Locator locator, String uri, String localName, String qName, Attributes atts, boolean retainAttributes, List<PrefixMapping> prefixMappings)
           
 
Method Summary
 Attributes getAttributes()
          Returns the attributes.
 String getLocalName()
          Returns the localName.
 NodeType getNodeType()
           
 List<PrefixMapping> getPrefixMappings()
          Returns the prefixMappings.
 String getQName()
          Returns the qName.
 String getUri()
          Returns the uri.
(package private)  void revisit(TreeParser treeParser)
           
(package private)  void visit(TreeParser treeParser)
           
 
Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, removeChild, setEndLocator
 
Methods inherited from class nu.validator.saxtree.Node
detach, getColumnNumber, getData, getLineNumber, getName, getNextSibling, getParentNode, getPublicId, getPublicIdentifier, getSystemId, getSystemIdentifier, getTarget, setNextSibling, setParentNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

private final String uri

localName

private final String localName

qName

private final String qName

attributes

private final Attributes attributes

prefixMappings

private final List<PrefixMapping> prefixMappings
Constructor Detail

Element

public Element(Locator locator,
               String uri,
               String localName,
               String qName,
               Attributes atts,
               boolean retainAttributes,
               List<PrefixMapping> prefixMappings)
Method Detail

visit

void visit(TreeParser treeParser)
     throws SAXException
Specified by:
visit in class Node
Throws:
SAXException

revisit

void revisit(TreeParser treeParser)
       throws SAXException
Overrides:
revisit in class Node
Throws:
SAXException
See Also:
Node.revisit(nu.validator.saxtree.TreeParser)

getAttributes

public Attributes getAttributes()
Returns the attributes.

Overrides:
getAttributes in class Node
Returns:
the attributes

getLocalName

public String getLocalName()
Returns the localName.

Overrides:
getLocalName in class Node
Returns:
the localName

getPrefixMappings

public List<PrefixMapping> getPrefixMappings()
Returns the prefixMappings.

Overrides:
getPrefixMappings in class Node
Returns:
the prefixMappings

getQName

public String getQName()
Returns the qName.

Overrides:
getQName in class Node
Returns:
the qName

getUri

public String getUri()
Returns the uri.

Overrides:
getUri in class Node
Returns:
the uri

getNodeType

public NodeType getNodeType()
Specified by:
getNodeType in class Node