org.apache.xalan.xsltc.dom
Class SingletonIterator
- Cloneable, DTMAxisIterator
public class SingletonIterator
- Jacek Ambroziak
- Santiago Pericas-Geertsen
void | gotoMark() - Restores the current node remembered by setMark().
|
int | next() - Get the next node in the iteration.
|
DTMAxisIterator | reset()
|
void | setMark() - Remembers the current node for the next call to gotoMark().
|
DTMAxisIterator | setStartNode(int node) - Override the value of _node only when this
object was constructed using the empty constructor.
|
cloneIterator , getAxis , getLast , getNodeByPosition , getPosition , getStartNode , includeSelf , isDocOrdered , isReverse , reset , setRestartable |
SingletonIterator
public SingletonIterator()
SingletonIterator
public SingletonIterator(int node)
SingletonIterator
public SingletonIterator(int node,
boolean constant)
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
Copyright B) 2006 Apache XML Project. All Rights Reserved.