|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.ref.EmptyIterator
public final class EmptyIterator
DTM Empty Axis Iterator. The class is immutable
Field Summary | |
---|---|
private static EmptyIterator |
INSTANCE
|
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
---|
END |
Constructor Summary | |
---|---|
private |
EmptyIterator()
|
Method Summary | |
---|---|
DTMAxisIterator |
cloneIterator()
|
static DTMAxisIterator |
getInstance()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final EmptyIterator INSTANCE
Constructor Detail |
---|
private EmptyIterator()
Method Detail |
---|
public static DTMAxisIterator getInstance()
public final int next()
DTMAxisIterator
next
in interface DTMAxisIterator
public final DTMAxisIterator reset()
DTMAxisIterator
reset
in interface DTMAxisIterator
public final int getLast()
getLast
in interface DTMAxisIterator
public final int getPosition()
getPosition
in interface DTMAxisIterator
public final void setMark()
DTMAxisIterator
setMark
in interface DTMAxisIterator
public final void gotoMark()
DTMAxisIterator
gotoMark
in interface DTMAxisIterator
public final DTMAxisIterator setStartNode(int node)
DTMAxisIterator
setStartNode
in interface DTMAxisIterator
node
- Sets the root of the iteration.
public final int getStartNode()
DTMAxisIterator
getStartNode
in interface DTMAxisIterator
public final boolean isReverse()
isReverse
in interface DTMAxisIterator
public final DTMAxisIterator cloneIterator()
cloneIterator
in interface DTMAxisIterator
public final void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable
in interface DTMAxisIterator
public final int getNodeByPosition(int position)
DTMAxisIterator
getNodeByPosition
in interface DTMAxisIterator
position
- The position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |