org.apache.xalan.xsltc.dom
Class SimpleResultTreeImpl.SingletonIterator
- SimpleResultTreeImpl
- Cloneable, DTMAxisIterator
public final class SimpleResultTreeImpl.SingletonIterator
The SingletonIterator is used for the self axis.
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 |
SingletonIterator
public SingletonIterator()
SingletonIterator
public SingletonIterator(int type)
gotoMark
public void gotoMark()
Restores the current node remembered by setMark().
- gotoMark in interface DTMAxisIterator
next
public int next()
Get the next node in the iteration.
- next in interface DTMAxisIterator
- The next node handle in the iteration, or END.
setMark
public void setMark()
Remembers the current node for the next call to gotoMark().
- setMark in interface DTMAxisIterator
setStartNode
public DTMAxisIterator setStartNode(int nodeHandle)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
- setStartNode in interface DTMAxisIterator
- A DTMAxisIterator set to the start of the iteration.
Copyright © 2006 Apache XML Project. All Rights Reserved.