public abstract class DTMAxisIteratorBase extends java.lang.Object implements DTMAxisIterator
END
Constructor and Description |
---|
DTMAxisIteratorBase() |
Modifier and Type | Method and Description |
---|---|
DTMAxisIterator |
cloneIterator()
Returns a deep copy of this iterator.
|
int |
getAxis()
Returns the axis being iterated, if it is known.
|
int |
getLast()
Returns the position of the last node within the iteration, as
defined by XPath.
|
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. subsequent call to next() should return END.
|
DTMAxisIterator |
includeSelf()
Set the flag to include the start node in the iteration.
|
boolean |
isDocOrdered()
Returns true if all the nodes in the iteration well be returned in document
order.
|
boolean |
isReverse() |
DTMAxisIterator |
reset()
Resets the iterator to the last start node.
|
void |
setRestartable(boolean isRestartable)
Set if restartable.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
gotoMark, next, setMark, setStartNode
public int getStartNode()
getStartNode
in interface DTMAxisIterator
public DTMAxisIterator reset()
DTMAxisIterator
reset
in interface DTMAxisIterator
public DTMAxisIterator includeSelf()
public int getLast()
getLast
in interface DTMAxisIterator
public int getPosition()
getPosition
in interface DTMAxisIterator
public boolean isReverse()
isReverse
in interface DTMAxisIterator
public DTMAxisIterator cloneIterator()
cloneIterator
in interface DTMAxisIterator
public boolean isDocOrdered()
public int getAxis()
public void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable
in interface DTMAxisIterator
public int getNodeByPosition(int position)
getNodeByPosition
in interface DTMAxisIterator
position
- The positionCopyright © 2006 Apache XML Project. All Rights Reserved.