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