Modifier and Type | Field and Description |
---|---|
public static final int | END
Specifies the end of the iteration, and is the same as DTM.NULL. |
Modifier and Type | Method and Description |
---|---|
public DTMAxisIterator | Returns: a deep copy of this iterator. The clone should not be reset from its current position.
|
public int | Returns: the number of nodes in this iterator. This may be an expensive operation when called the first time.
|
public int | Returns: The node at the given position.The position position)Return the node at the given position. |
public int | |
public int | Returns: The root node of the iteration.Get start to END should 'close' the iterator, i.e. subsequent call to next() should return END. |
public void | |
public boolean | |
public int | |
public DTMAxisIterator | Returns: A DTMAxisIterator, which may or may not be the same as this iterator.Resets the iterator to the last start node. |
public void | |
public void | |
public DTMAxisIterator | Returns: A DTMAxisIterator set to the start of the iteration.Sets the root of the iteration. node)Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. |
END | back to summary |
---|---|
public static final int END Specifies the end of the iteration, and is the same as DTM.NULL. |
cloneIterator | back to summary |
---|---|
public DTMAxisIterator cloneIterator()
|
getLast | back to summary |
---|---|
public int getLast()
|
getNodeByPosition | back to summary |
---|---|
public int getNodeByPosition(int position) Return the node at the given position.
|
getPosition | back to summary |
---|---|
public int getPosition()
|
getStartNode | back to summary |
---|---|
public int getStartNode() Get start to END should 'close' the iterator, i.e. subsequent call to next() should return END.
|
gotoMark | back to summary |
---|---|
public void gotoMark() Restores the current node remembered by setMark(). |
isReverse | back to summary |
---|---|
public boolean isReverse()
|
next | back to summary |
---|---|
public int next() Get the next node in the iteration.
|
reset | back to summary |
---|---|
public DTMAxisIterator reset() Resets the iterator to the last start node.
|
setMark | back to summary |
---|---|
public void setMark() Remembers the current node for the next call to gotoMark(). |
setRestartable | back to summary |
---|---|
public void setRestartable(boolean isRestartable) Set if restartable. |
setStartNode | back to summary |
---|---|
public DTMAxisIterator setStartNode(int node) Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.
|