|
|||||||||||
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.CompositeNode
A XPath node with children.
Field Summary | |
protected TreeNode |
firstChild_
|
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 | |
(package private) |
CompositeNode()
|
Method Summary | |
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. |
int |
getChildCount()
Return 0. |
XPathNode |
getFirstChild()
Return the first child. |
(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. |
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. |
String |
getTextValue()
Return the concatenation of the value of all text node descendants. |
(package private) void |
increaseChildCount()
|
(package private) boolean |
isComplexElement()
|
abstract boolean |
preserveSpace()
Return if a text child with whitespace text should be preserved. |
(package private) void |
setFirstChild(TreeNode child)
|
(package private) void |
setNextSibling(TreeNode node)
|
(package private) void |
setSerialNumber(int serialNumber)
|
abstract String |
toString()
Return a string representation of the node. |
Methods inherited from class jd.xml.xpath.model.build.AbstractXPathNode |
equals, getAttributes, getBaseUri, getFirstSibling, getInheritedAttribute, getLanguage, getLocalName, getName, getNamespaceNodes, getNamespaceUri, getNodeName, getPrefix, getTypeName, hashCode, hasName, hasNamespaceUri, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jd.xml.xpath.model.XPathNode |
accept, getType, getValue |
Field Detail |
protected TreeNode firstChild_
protected TreeNode next_
protected TreeNode previous_
protected CompositeNode parent_
protected int serialNumber_
Constructor Detail |
CompositeNode()
Method Detail |
boolean isComplexElement()
public int getChildCount()
getChildCount
in interface XPathNode
getChildCount
in class AbstractXPathNode
void increaseChildCount()
public final XPathNode getFirstChild()
getFirstChild
in interface XPathNode
getFirstChild
in class AbstractXPathNode
Node getFirstChildImpl()
getFirstChildImpl
in class Node
void setFirstChild(TreeNode child)
public String getTextValue()
public abstract boolean preserveSpace()
Node copy(CompositeNode parent)
copy
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()
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 createCopy()
public int getLineNumber()
public abstract String toString()
toString
in interface XPathNode
toString
in class AbstractXPathNode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |