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 |
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.
|
CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
Object |
getUnderlyingNode()
Get the underlying Axiom node, to implement the VirtualNode interface
|
boolean |
hasChildNodes()
Determine whether the node has any children.
|
protected AxisIterator<NodeInfo> |
iterateChildren(NodeTest nodeTest)
Return an iterator over the children of this node.
|
protected AxisIterator<NodeInfo> |
iterateDescendants(NodeTest nodeTest,
boolean includeSelf)
Return an iterator over the descendants of this node.
|
comparePosition, copy, equals, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getNameCode, getNamePool, getRealNode, getRoot, getSchemaType, getStringValue, getSystemId, getTypeAnnotation, hashCode, head, isId, isIdref, isNilled, isSameNodeInfo, iterate, iterateAttributes, iterateAxis, iterateAxis, iterateSiblings, setSystemId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSiblingPosition
compareOrder, comparePosition, copy, equals, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeKind, getParent, getPrefix, getRoot, getSchemaType, getStringValue, getSystemId, getTypeAnnotation, getURI, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis
setSystemId
protected AxiomParentNodeWrapper(org.apache.axiom.om.OMContainer node)
public Object getUnderlyingNode()
getUnderlyingNode
in interface VirtualNode
public AtomicSequence atomize()
atomize
in interface NodeInfo
atomize
in class AbstractNodeWrapper
public 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<NodeInfo> iterateChildren(NodeTest nodeTest)
AbstractNodeWrapper
iterateChildren
in class AbstractNodeWrapper
nodeTest
- a test that the returned attributes must satisfyprotected AxisIterator<NodeInfo> 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-2013 Saxonica Limited. All rights reserved.