|
||||||||||
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.SimpleResultTreeImpl.SingletonIterator
public final class SimpleResultTreeImpl.SingletonIterator
The SingletonIterator is used for the self axis.
Field Summary | |
---|---|
(package private) int |
_currentNode
|
(package private) int |
_type
|
(package private) static int |
NO_TYPE
|
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 | |
---|---|
SimpleResultTreeImpl.SingletonIterator()
|
|
SimpleResultTreeImpl.SingletonIterator(int type)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
---|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, resetPosition, returnNode, setRestartable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int NO_TYPE
int _type
int _currentNode
Constructor Detail |
---|
public SimpleResultTreeImpl.SingletonIterator()
public SimpleResultTreeImpl.SingletonIterator(int type)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |