|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.ref.DTMAxisIteratorBase org.apache.xalan.xsltc.dom.SingletonIterator
public class SingletonIterator
Field Summary | |
---|---|
private boolean |
_isConstant
|
private int |
_node
|
Fields inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
---|
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode |
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
---|
END |
Constructor Summary | |
---|---|
SingletonIterator()
|
|
SingletonIterator(int node)
|
|
SingletonIterator(int node,
boolean constant)
|
Method Summary | |
---|---|
void |
gotoMark()
Restores the current node remembered by setMark(). |
int |
next()
Get the next node in the iteration. |
DTMAxisIterator |
reset()
Resets the iterator to the last start node. |
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. |
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
---|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode, setRestartable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int _node
private final boolean _isConstant
Constructor Detail |
---|
public SingletonIterator()
public SingletonIterator(int node)
public SingletonIterator(int node, boolean constant)
Method Detail |
---|
public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.
public DTMAxisIterator reset()
DTMAxisIterator
reset
in interface DTMAxisIterator
reset
in class DTMAxisIteratorBase
public int next()
DTMAxisIterator
public void setMark()
DTMAxisIterator
public void gotoMark()
DTMAxisIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |