public interface DTMAxisIterator extends Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
END
Specifies the end of the iteration, and is the same as DTM.NULL.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final int END
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 positionCopyright © 2018 JBoss by Red Hat. All rights reserved.