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(java.util.function.Predicate<? super NodeInfo> nodeTest)
Return an iterator over the children of this node.
|
protected AxisIterator |
iterateDescendants(java.util.function.Predicate<? super NodeInfo> nodeTest,
boolean includeSelf)
Return an iterator over the descendants of this node.
|
equals, getAllNamespaces, 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, waitgetSiblingPositionattributes, children, children, compareOrder, copy, equals, getAllNamespaces, 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, reduce, subsequence, toGroundedValueasIterable, concatenate, containsNode, 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 Itematomize in interface NodeInfoatomize in class AbstractNodeWrapperpublic java.lang.CharSequence getStringValueCS()
getStringValueCS in interface GroundedValuegetStringValueCS in interface ItemItem.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(java.util.function.Predicate<? super NodeInfo> nodeTest)
AbstractNodeWrapperiterateChildren in class AbstractNodeWrappernodeTest - a test that the returned attributes must satisfyprotected AxisIterator iterateDescendants(java.util.function.Predicate<? super NodeInfo> 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-2021 Saxonica Limited. All rights reserved.