public final class SimpleResultTreeImpl.SingletonIterator extends DTMAxisIteratorBase
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode
END
Constructor and Description |
---|
SimpleResultTreeImpl.SingletonIterator() |
SimpleResultTreeImpl.SingletonIterator(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.
|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, resetPosition, returnNode, setRestartable
public SimpleResultTreeImpl.SingletonIterator()
public SimpleResultTreeImpl.SingletonIterator(int type)
public void setMark()
DTMAxisIterator
public void gotoMark()
DTMAxisIterator
public DTMAxisIterator setStartNode(int nodeHandle)
DTMAxisIterator
nodeHandle
- Sets the root of the iteration.public int next()
DTMAxisIterator
Copyright © 2018 JBoss by Red Hat. All rights reserved.