nu.validator.saxtree
Class Element
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.Element
- All Implemented Interfaces:
- Locator
public final class Element
- extends ParentNode
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 |
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
Element
public Element(Locator locator,
String uri,
String localName,
String qName,
Attributes atts,
boolean retainAttributes,
List<PrefixMapping> prefixMappings)
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