|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.model.build.AbstractXPathNode
jd.xml.xpath.model.build.normal.Node
jd.xml.xpath.model.build.normal.TreeNode
jd.xml.xpath.model.build.normal.TextNode
A Text node implementation.
Field Summary | |
protected TreeNode |
next_
|
protected CompositeNode |
parent_
|
protected TreeNode |
previous_
|
protected int |
serialNumber_
|
Fields inherited from interface jd.xml.xpath.model.XPathNode |
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, PI, ROOT, TEXT, TYPE_NAMES, TYPES, UNKNOWN |
Constructor Summary | |
TextNode(String text)
|
Method Summary | |
void |
accept(NodeVisitor visitor)
Dispatch method for NodeVisitors. |
int |
compareToNode(XPathNode node)
Compare to another XPathNode from the same document. |
(package private) Node |
copy(CompositeNode parent)
|
(package private) Node |
createCopy()
|
boolean |
equalsNode(XPathNode node)
Test if the node equals the given node. |
XPathNode |
getCacheableNode()
Return this. |
(package private) Node |
getFirstChildImpl()
Return null. |
String |
getGlobalId()
Return an unique identifier for the node. |
int |
getLineNumber()
Return the line number of this node in a source document. |
int |
getLocalId()
Return a number for the node that is unique within the document. |
String |
getName()
Return null. |
NamespaceContext |
getNamespaceContext()
Return the namespace context of the node. |
XPathNode |
getNextSibling()
Return the next XPathNode sibling. |
XPathNode |
getParent()
Return the parent XPathNode. |
XPathNode |
getPrevSibling()
Return the previous XPathNode sibling. |
XPathRootNode |
getRoot()
Return the root. |
int |
getType()
Return TEXT. |
String |
getValue()
Return the text. |
(package private) void |
setNextSibling(TreeNode node)
|
(package private) void |
setSerialNumber(int serialNumber)
|
String |
toString()
Return a string representation of the node. |
Methods inherited from class jd.xml.xpath.model.build.AbstractXPathNode |
equals, getAttributes, getBaseUri, getChildCount, getFirstChild, getFirstSibling, getInheritedAttribute, getLanguage, getLocalName, getNamespaceNodes, getNamespaceUri, getNodeName, getPrefix, getTypeName, hashCode, hasName, hasNamespaceUri, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected TreeNode next_
protected TreeNode previous_
protected CompositeNode parent_
protected int serialNumber_
Constructor Detail |
public TextNode(String text)
Method Detail |
public int getType()
public String getName()
getName
in interface XPathNode
getName
in class AbstractXPathNode
public String getValue()
Node createCopy()
createCopy
in class Node
public void accept(NodeVisitor visitor)
public String toString()
toString
in interface XPathNode
toString
in class Node
public final XPathNode getNextSibling()
getNextSibling
in interface XPathNode
getNextSibling
in class Node
public final XPathNode getPrevSibling()
getPrevSibling
in interface XPathNode
getPrevSibling
in class Node
void setNextSibling(TreeNode node)
public XPathRootNode getRoot()
public XPathNode getParent()
Node getFirstChildImpl()
public XPathNode getCacheableNode()
public NamespaceContext getNamespaceContext()
public int getLocalId()
public String getGlobalId()
public boolean equalsNode(XPathNode node)
public int compareToNode(XPathNode node)
void setSerialNumber(int serialNumber)
Node copy(CompositeNode parent)
public int getLineNumber()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |