public final class EmptyIterator extends Object implements DTMAxisIterator
END
Modifier and Type | Method and Description |
---|---|
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.
|
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 positionCopyright © 2018 JBoss by Red Hat. All rights reserved.