public class DTMDefaultBaseIterators.DescendantIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
_currentNode
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode
END
Constructor and Description |
---|
DescendantIterator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isDescendant(int identity)
Tell if this node identity is a descendant.
|
int |
next()
Get the next node in the iteration.
|
DTMAxisIterator |
reset()
Reset.
|
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator,
i.e.
|
gotoMark, setMark
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode, setRestartable
public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.protected boolean isDescendant(int identity)
identity
- The index number of the node in question.public int next()
public DTMAxisIterator reset()
reset
in interface DTMAxisIterator
reset
in class DTMAxisIteratorBase
Copyright © 2017 JBoss by Red Hat. All rights reserved.