|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.Element
public final class Element
An element.
| Field Summary | |
|---|---|
private Attributes |
attributes
The attributes. |
private String |
localName
The local name. |
private List<PrefixMapping> |
prefixMappings
The namespace prefix mappings. |
private String |
qName
The qualified name. |
private String |
uri
The namespace 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)
The contructor. |
|
| Method Summary | |
|---|---|
Attributes |
getAttributes()
Returns the attributes. |
String |
getLocalName()
Returns the localName. |
NodeType |
getNodeType()
Return the node type. |
List<PrefixMapping> |
getPrefixMappings()
Returns the prefixMappings. |
String |
getQName()
Returns the qName. |
String |
getUri()
Returns the uri. |
(package private) void |
revisit(TreeParser treeParser)
Revisit the node. |
(package private) void |
visit(TreeParser treeParser)
Visit the node. |
| Methods inherited from class nu.validator.saxtree.ParentNode |
|---|
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocator |
| Methods inherited from class nu.validator.saxtree.Node |
|---|
detach, getColumnNumber, getData, getLineNumber, getName, getNextSibling, getParentNode, getPreviousSibling, 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 |
|---|
private final String uri
private final String localName
private final String qName
private final Attributes attributes
private final List<PrefixMapping> prefixMappings
| Constructor Detail |
|---|
public Element(Locator locator,
String uri,
String localName,
String qName,
Attributes atts,
boolean retainAttributes,
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 mappings| Method Detail |
|---|
void visit(TreeParser treeParser)
throws SAXException
Node
visit in class NodetreeParser - the visitor
SAXException - if stuff goes wrongNode.visit(nu.validator.saxtree.TreeParser)
void revisit(TreeParser treeParser)
throws SAXException
Node
revisit in class NodetreeParser - the visitor
SAXException - if stuff goes wrongNode.revisit(nu.validator.saxtree.TreeParser)public Attributes getAttributes()
getAttributes in class Nodepublic String getLocalName()
getLocalName in class Nodepublic List<PrefixMapping> getPrefixMappings()
getPrefixMappings in class Nodepublic String getQName()
getQName in class Nodepublic String getUri()
getUri in class Nodepublic NodeType getNodeType()
Node
getNodeType in class NodeNode.getNodeType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||