public abstract class AxiomParentNodeWrapper extends AbstractNodeWrapper implements SiblingCountingNode
Modifier and Type | Class and Description |
---|---|
protected class |
AxiomParentNodeWrapper.ChildWrappingIterator
Iterator over the children of a supplied node
|
protected class |
AxiomParentNodeWrapper.DescendantWrappingIterator
Iterator over the descendants of a supplied node (optionally including the node itself)
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.axiom.om.OMContainer |
node |
treeInfo
ALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
Modifier | Constructor and Description |
---|---|
protected |
AxiomParentNodeWrapper(org.apache.axiom.om.OMContainer node) |
Modifier and Type | Method and Description |
---|---|
AtomicSequence |
atomize()
Get the typed value.
|
void |
generateId(FastStringBuffer buffer)
Get a character string that uniquely identifies this node.
|
java.lang.CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
java.lang.Object |
getUnderlyingNode()
Get the underlying Axiom node, to implement the VirtualNode interface
|
boolean |
hasChildNodes()
Determine whether the node has any children.
|
protected AxisIterator |
iterateChildren(NodeTest nodeTest)
Return an iterator over the children of this node.
|
protected AxisIterator |
iterateDescendants(NodeTest nodeTest,
boolean includeSelf)
Return an iterator over the descendants of this node.
|
comparePosition, copy, equals, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getLineNumber, getNamePool, getPublicId, getRealNode, getRoot, getSchemaType, getStringValue, getSystemId, getTreeInfo, hasFingerprint, hashCode, head, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterate, iterateAttributes, iterateAxis, iterateAxis, iterateSiblings, saveLocation, setSystemId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSiblingPosition
compareOrder, comparePosition, copy, equals, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getLineNumber, getLocalPart, getNodeKind, getParent, getPrefix, getPublicId, getRoot, getSchemaType, getStringValue, getSystemId, getTreeInfo, getURI, hasFingerprint, hashCode, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, iterateAxis
saveLocation
protected AxiomParentNodeWrapper(org.apache.axiom.om.OMContainer node)
public java.lang.Object getUnderlyingNode()
getUnderlyingNode
in interface VirtualNode
public AtomicSequence atomize()
atomize
in interface Item
atomize
in interface NodeInfo
atomize
in class AbstractNodeWrapper
public java.lang.CharSequence getStringValueCS()
getStringValueCS
in interface Item
Item.getStringValue()
public boolean hasChildNodes()
hasChildNodes
in interface NodeInfo
hasChildNodes
in class AbstractNodeWrapper
public void generateId(FastStringBuffer buffer)
generateId
in interface NodeInfo
buffer
- a buffer to contain a string that uniquely identifies this node, across all documentsprotected final AxisIterator iterateChildren(NodeTest nodeTest)
AbstractNodeWrapper
iterateChildren
in class AbstractNodeWrapper
nodeTest
- a test that the returned attributes must satisfyprotected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf)
AbstractNodeWrapper
iterateDescendants
in class AbstractNodeWrapper
nodeTest
- a test that the returned descendants must satisfyincludeSelf
- true if this node is to be included in the resultCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.