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, setSystemId
public final boolean hasChildNodes()
NodeImpl
hasChildNodes
in interface NodeInfo
hasChildNodes
in class NodeImpl
true
if the node has any children,
false
if the node has no children.public final AxisIterator enumerateChildren(NodeTest test)
public AxisIterator iterateAxis(byte axisNumber)
NodeImpl
iterateAxis
in interface NodeInfo
iterateAxis
in class NodeImpl
axisNumber
- The axis to be iterated overpublic AxisIterator iterateAxis(byte axisNumber, NodeTest nodeTest)
NodeImpl
iterateAxis
in interface NodeInfo
iterateAxis
in class NodeImpl
axisNumber
- The axis to be iterated overnodeTest
- A pattern to be matched by the returned nodespublic NodeInfo getFirstChild()
getFirstChild
in class NodeImpl
public NodeInfo getLastChild()
getLastChild
in class NodeImpl
public String getStringValue()
public CharSequence getStringValueCS()
NodeImpl
getStringValueCS
in interface Item
getStringValueCS
in interface ValueRepresentation
getStringValueCS
in class NodeImpl