|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.dtm.ref.DTMAxisIteratorBase
public abstract class DTMAxisIteratorBase
This class serves as a default base for implementations of mutable DTMAxisIterators.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
|---|
END |
| Constructor Summary | |
|---|---|
DTMAxisIteratorBase()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.xml.dtm.DTMAxisIterator |
|---|
gotoMark, next, setMark, setStartNode |
| Constructor Detail |
|---|
public DTMAxisIteratorBase()
| Method Detail |
|---|
public int getStartNode()
getStartNode in interface DTMAxisIteratorpublic DTMAxisIterator reset()
DTMAxisIterator
reset in interface DTMAxisIteratorpublic DTMAxisIterator includeSelf()
public int getLast()
getLast in interface DTMAxisIteratorpublic int getPosition()
getPosition in interface DTMAxisIteratorpublic boolean isReverse()
isReverse in interface DTMAxisIteratorpublic DTMAxisIterator cloneIterator()
cloneIterator in interface DTMAxisIteratorpublic boolean isDocOrdered()
public int getAxis()
public void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable in interface DTMAxisIteratorpublic int getNodeByPosition(int position)
getNodeByPosition in interface DTMAxisIteratorposition - The position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||