java.lang.Cloneable, DTMAxisIteratorpublic final class SimpleResultTreeImpl.SingletonIterator extends DTMAxisIteratorBase
END| Constructor | Description |
|---|---|
SingletonIterator() |
|
SingletonIterator(int type) |
| Modifier and Type | Method | 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, setRestartablepublic SingletonIterator()
public SingletonIterator(int type)
public void setMark()
DTMAxisIteratorpublic void gotoMark()
DTMAxisIteratorpublic DTMAxisIterator setStartNode(int nodeHandle)
DTMAxisIteratornodeHandle - Sets the root of the iteration.public int next()
DTMAxisIteratorCopyright © 2014 Apache XML Project. All Rights Reserved.