public final class SimpleResultTreeImpl.SimpleIterator extends DTMAxisIteratorBase
END
Constructor and Description |
---|
SimpleResultTreeImpl.SimpleIterator() |
SimpleResultTreeImpl.SimpleIterator(int direction) |
SimpleResultTreeImpl.SimpleIterator(int direction,
int type) |
Modifier and Type | Method and Description |
---|---|
void |
gotoMark()
Restores the current node remembered by setMark().
|
int |
next()
Get the next node in the iteration.
|
void |
setMark()
Remembers the current node for the next call to gotoMark().
|
DTMAxisIterator |
setStartNode(int nodeHandle)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable
public SimpleResultTreeImpl.SimpleIterator()
public SimpleResultTreeImpl.SimpleIterator(int direction)
public SimpleResultTreeImpl.SimpleIterator(int direction, int type)
public int next()
DTMAxisIterator
public DTMAxisIterator setStartNode(int nodeHandle)
DTMAxisIterator
nodeHandle
- Sets the root of the iteration.public void setMark()
DTMAxisIterator
public void gotoMark()
DTMAxisIterator
Copyright � 2014 Apache XML Project. All Rights Reserved.