public class SAX2DTM2.PrecedingIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
END| Constructor and Description |
|---|
SAX2DTM2.PrecedingIterator() |
| Modifier and Type | Method and Description |
|---|---|
DTMAxisIterator |
cloneIterator()
Returns a deep copy of this iterator.
|
void |
gotoMark()
Restores the current node remembered by setMark().
|
boolean |
isReverse()
True if this iterator has a reversed axis.
|
int |
next()
Get the next node in the iteration.
|
DTMAxisIterator |
reset()
Resets the iterator to the last start node.
|
void |
setMark()
Remembers the current node for the next call to gotoMark().
|
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, setRestartablepublic boolean isReverse()
isReverse in interface DTMAxisIteratorisReverse in class DTMAxisIteratorBasepublic DTMAxisIterator cloneIterator()
cloneIterator in interface DTMAxisIteratorcloneIterator in class DTMAxisIteratorBasepublic DTMAxisIterator setStartNode(int node)
node - Sets the root of the iteration.public int next()
public DTMAxisIterator reset()
reset in interface DTMAxisIteratorreset in class DTMAxisIteratorBasepublic void setMark()
DTMDefaultBaseIterators.InternalAxisIteratorBasesetMark in interface DTMAxisIteratorsetMark in class DTMDefaultBaseIterators.InternalAxisIteratorBasepublic void gotoMark()
DTMDefaultBaseIterators.InternalAxisIteratorBasegotoMark in interface DTMAxisIteratorgotoMark in class DTMDefaultBaseIterators.InternalAxisIteratorBaseCopyright © 2014 Apache XML Project. All Rights Reserved.