Package net.sf.saxon.ma.jnode
Class ChildJNode
java.lang.Object
net.sf.saxon.ma.jnode.JNode
net.sf.saxon.ma.jnode.ChildJNode
- All Implemented Interfaces:
GNode,GroundedValue,Item,Sequence,SiblingCountingNode
- Direct Known Subclasses:
JNodeForArrayMember,JNodeForMapEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classIterator over the children of this JNode -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JNodeprotected final intprotected final AtomicValueprotected final GroundedValue -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedChildJNode(JNode parent, int position, AtomicValue selector, GroundedValue value) -
Method Summary
Modifier and TypeMethodDescriptionGet the value of the content propertyGet the parent of this JNodeintGet the value of the position propertyGet the value of the selector propertyiterateChildAxis(NodePredicate predicate) Get an iterator over the child axis, starting at this node; the nodes will be in document order.abstract SequenceIteratoriterateFollowingSiblingAxis(NodePredicate predicate) Get an iterator over the following-sibling axis, starting at this node; the nodes will be in document order.abstract SequenceIteratoriteratePrecedingSiblingAxis(NodePredicate predicate) Get an iterator over the preceding-sibling axis, starting at this node; the nodes will be in reverse document order.Methods inherited from class net.sf.saxon.ma.jnode.JNode
atomize, getGenre, getNodeKind, getRoot, getUnicodeStringValue, hasChildNodes, toShortString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.sf.saxon.om.GNode
compareOrder, generateId, getNodeKind, hasChildNodes, iterateAncestorAxis, iterateAncestorOrSelfAxis, iterateAttributeAxis, iterateDescendantAxis, iterateDescendantOrSelfAxis, iterateFollowingAxis, iterateFollowingOrSelfAxis, iterateFollowingSiblingOrSelfAxis, iterateNamespaceAxis, iterateParentAxis, iteratePrecedingAxis, iteratePrecedingOrSelfAxis, iteratePrecedingSiblingOrSelfAxis, iterateSelfAxisMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, effectiveBooleanValue, materializeMethods inherited from interface net.sf.saxon.om.Item
atomize, getGenre, getLabel, getLength, getStringValue, getUnicodeStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence, toShortStringMethods inherited from interface net.sf.saxon.om.Sequence
makeRepeatableMethods inherited from interface net.sf.saxon.tree.wrapper.SiblingCountingNode
getSiblingPosition
-
Field Details
-
parent
-
position
protected final int position -
selector
-
value
-
-
Constructor Details
-
ChildJNode
-
-
Method Details
-
getContent
Description copied from class:JNodeGet the value of the content property- Specified by:
getContentin classJNode- Returns:
- the content of the JNode
-
getPosition
public int getPosition()Description copied from class:JNodeGet the value of the position property- Specified by:
getPositionin classJNode- Returns:
- the position
-
getSelector
Description copied from class:JNodeGet the value of the selector property- Specified by:
getSelectorin classJNode- Returns:
- the selector. Returns null if the property is absent (for a root JNode)
-
getParent
Description copied from class:JNodeGet the parent of this JNode -
iterateChildAxis
Get an iterator over the child axis, starting at this node; the nodes will be in document order.- Specified by:
iterateChildAxisin interfaceGNode- Parameters:
predicate- a condition that the nodes must satisfy, or null- Returns:
- the required iterator
-
iterateFollowingSiblingAxis
Get an iterator over the following-sibling axis, starting at this node; the nodes will be in document order.- Specified by:
iterateFollowingSiblingAxisin interfaceGNode- Parameters:
predicate- a condition that the nodes must satisfy, or null- Returns:
- the required iterator
-
iteratePrecedingSiblingAxis
Get an iterator over the preceding-sibling axis, starting at this node; the nodes will be in reverse document order.- Specified by:
iteratePrecedingSiblingAxisin interfaceGNode- Parameters:
predicate- a condition that the nodes must satisfy, or null- Returns:
- the required iterator
-