|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class iterates over a single XPath Axis, and returns node handles.
Field Summary | |
static int |
END
Specifies the end of the iteration, and is the same as DTM.NULL. |
Method Summary | |
DTMAxisIterator |
cloneIterator()
|
int |
getLast()
|
int |
getPosition()
|
int |
getStartNode()
Get start to END should 'close' the iterator, i.e. subsequent call to next() should return END. |
void |
gotoMark()
Restores the current node remembered by setMark(). |
boolean |
isReverse()
|
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)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. |
Field Detail |
public static final int END
Method Detail |
public int next()
public DTMAxisIterator reset()
public int getLast()
public int getPosition()
public void setMark()
public void gotoMark()
public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.
public int getStartNode()
public boolean isReverse()
public DTMAxisIterator cloneIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |