public abstract class ParentNodeImpl extends NodeImpl
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
childNum |
document, nameCode, nextSibNum, NODE_LETTER, nodeNum, parentNum, prevSibNum| Constructor and Description |
|---|
ParentNodeImpl() |
| Modifier and Type | Method and Description |
|---|---|
AxisIterator |
enumerateChildren(NodeTest test) |
NodeInfo |
getFirstChild()
Get first child (DOM method)
|
NodeInfo |
getLastChild()
The last child of this Node, or null if none.
|
String |
getStringValue()
Return the string-value of the node, that is, the concatenation
of the character content of all descendent elements and text nodes.
|
CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
boolean |
hasChildNodes()
Determine whether the node has any children.
|
AxisIterator |
iterateAxis(byte axisNumber)
Return an enumeration over the nodes reached by the given axis from this node
|
AxisIterator |
iterateAxis(byte axisNumber,
NodeTest nodeTest)
Return an enumeration over the nodes reached by the given axis from this node
|
atomize, compareOrder, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getRoot, getSequenceNumber, getSystemId, getTypeAnnotation, getTypedValue, getURI, hashCode, init, isSameNodeInfo, sendNamespaceDeclarations, setSystemIdpublic final boolean hasChildNodes()
NodeImplhasChildNodes in interface NodeInfohasChildNodes in class NodeImpltrue if the node has any children,
false if the node has no children.public final AxisIterator enumerateChildren(NodeTest test)
public AxisIterator iterateAxis(byte axisNumber)
NodeImpliterateAxis in interface NodeInfoiterateAxis in class NodeImplaxisNumber - The axis to be iterated overpublic AxisIterator iterateAxis(byte axisNumber,
NodeTest nodeTest)
NodeImpliterateAxis in interface NodeInfoiterateAxis in class NodeImplaxisNumber - The axis to be iterated overnodeTest - A pattern to be matched by the returned nodespublic NodeInfo getFirstChild()
getFirstChild in class NodeImplpublic NodeInfo getLastChild()
getLastChild in class NodeImplpublic String getStringValue()
public CharSequence getStringValueCS()
NodeImplgetStringValueCS in interface ItemgetStringValueCS in interface ValueRepresentationgetStringValueCS in class NodeImpl