public final class Element extends ParentNode
| Modifier and Type | Field and Description |
|---|---|
private org.xml.sax.Attributes |
attributes
The attributes.
|
private java.lang.String |
localName
The local name.
|
private java.util.List<PrefixMapping> |
prefixMappings
The namespace prefix mappings.
|
private java.lang.String |
qName
The qualified name.
|
private java.lang.String |
uri
The namespace URI.
|
endLocator| Constructor and Description |
|---|
Element(org.xml.sax.Locator locator,
java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts,
boolean retainAttributes,
java.util.List<PrefixMapping> prefixMappings)
The contructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.Attributes |
getAttributes()
Returns the attributes.
|
java.lang.String |
getLocalName()
Returns the localName.
|
NodeType |
getNodeType()
Return the node type.
|
java.util.List<PrefixMapping> |
getPrefixMappings()
Returns the prefixMappings.
|
java.lang.String |
getQName()
Returns the qName.
|
java.lang.String |
getUri()
Returns the uri.
|
(package private) void |
revisit(TreeParser treeParser)
Revisit the node.
|
(package private) void |
visit(TreeParser treeParser)
Visit the node.
|
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocatordetach, getColumnNumber, getData, getLineNumber, getName, getNextSibling, getParentNode, getPreviousSibling, getPublicId, getPublicIdentifier, getSystemId, getSystemIdentifier, getTarget, setNextSibling, setParentNodeprivate final java.lang.String uri
private final java.lang.String localName
private final java.lang.String qName
private final org.xml.sax.Attributes attributes
private final java.util.List<PrefixMapping> prefixMappings
public Element(org.xml.sax.Locator locator,
java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts,
boolean retainAttributes,
java.util.List<PrefixMapping> prefixMappings)
locator - the locator.uri - the namespace URIlocalName - the local nameqName - the qualified nameatts - the attributesretainAttributes - true to retain the attributes instead of copyingprefixMappings - the prefix mappingsvoid visit(TreeParser treeParser) throws org.xml.sax.SAXException
Nodevisit in class NodetreeParser - the visitororg.xml.sax.SAXException - if stuff goes wrongNode.visit(nu.validator.saxtree.TreeParser)void revisit(TreeParser treeParser) throws org.xml.sax.SAXException
Noderevisit in class NodetreeParser - the visitororg.xml.sax.SAXException - if stuff goes wrongNode.revisit(nu.validator.saxtree.TreeParser)public org.xml.sax.Attributes getAttributes()
getAttributes in class Nodepublic java.lang.String getLocalName()
getLocalName in class Nodepublic java.util.List<PrefixMapping> getPrefixMappings()
getPrefixMappings in class Nodepublic java.lang.String getQName()
public java.lang.String getUri()
public NodeType getNodeType()
NodegetNodeType in class NodeNode.getNodeType()