|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DTMAxisIterator
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 |
---|
static final int END
Method Detail |
---|
int next()
DTMAxisIterator reset()
int getLast()
int getPosition()
void setMark()
void gotoMark()
DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.
int getStartNode()
boolean isReverse()
DTMAxisIterator cloneIterator()
void setRestartable(boolean isRestartable)
int getNodeByPosition(int position)
position
- The position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |