public class DTMDefaultBaseIterators.DescendantIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
_currentNode_includeSelf, _isRestartable, _last, _markedNode, _position, _startNodeEND| Constructor and Description |
|---|
DTMDefaultBaseIterators.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, setMarkcloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode, setRestartablepublic DTMDefaultBaseIterators.DescendantIterator()
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 DTMAxisIteratorreset in class DTMAxisIteratorBaseCopyright © 2012 JBoss by Red Hat. All Rights Reserved.