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 |
treeInfoIS_DTD_TYPE, IS_NILLED| 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.
|
org.apache.axiom.om.OMContainer |
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.
|
equals, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDisplayName, getFingerprint, getLineNumber, getNamePool, getRealNode, getRoot, getStringValue, getSystemId, getTreeInfo, hasFingerprint, hashCode, iterateAttributes, iterateAxis, iterateAxis, iterateSiblings, saveLocation, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSiblingPositioncompareOrder, copy, equals, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNodeKind, getParent, getPrefix, getPublicId, getRoot, getSchemaType, getStringValue, getSystemId, getTreeInfo, getURI, hasFingerprint, hashCode, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, iterateAxis, toShortStringgetLength, head, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, effectiveBooleanValue, materializemakeRepeatablesaveLocationprotected AxiomParentNodeWrapper(org.apache.axiom.om.OMContainer node)
public org.apache.axiom.om.OMContainer getUnderlyingNode()
getUnderlyingNode in interface VirtualNodepublic AtomicSequence atomize()
atomize in interface Item<NodeInfo>atomize in interface NodeInfoatomize in class AbstractNodeWrapperpublic java.lang.CharSequence getStringValueCS()
getStringValueCS in interface GroundedValue<NodeInfo>getStringValueCS in interface Item<NodeInfo>Item.getStringValue()public boolean hasChildNodes()
Note: the result is equivalent to
getEnumeration(Axis.CHILD, AnyNodeTest.getInstance()).hasNext()
hasChildNodes in interface NodeInfohasChildNodes in class AbstractNodeWrapperpublic void generateId(FastStringBuffer buffer)
generateId in interface NodeInfobuffer - a buffer to contain a string that uniquely identifies this node, across all documentsprotected final AxisIterator iterateChildren(NodeTest nodeTest)
AbstractNodeWrapperiterateChildren in class AbstractNodeWrappernodeTest - a test that the returned attributes must satisfyprotected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf)
AbstractNodeWrapperiterateDescendants in class AbstractNodeWrappernodeTest - a test that the returned descendants must satisfyincludeSelf - true if this node is to be included in the resultCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.