|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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 |
getNodeByPosition(int position)
Return the node at the given position. |
int |
getPosition()
|
int |
getStartNode()
Get start to END should 'close' the iterator, i.e. |
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(). |
void |
setRestartable(boolean isRestartable)
Set if restartable. |
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator, i.e. |
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()
public void setRestartable(boolean isRestartable)
public int getNodeByPosition(int position)
position
- The position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |