|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xsltc.dom.ArrayNodeListIterator
public class ArrayNodeListIterator
Field Summary | |
---|---|
private int |
_mark
|
private int[] |
_nodes
|
private int |
_pos
|
private static int[] |
EMPTY
|
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
---|
END |
Constructor Summary | |
---|---|
ArrayNodeListIterator(int[] nodes)
|
Method Summary | |
---|---|
DTMAxisIterator |
cloneIterator()
|
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 int _pos
private int _mark
private int[] _nodes
private static final int[] EMPTY
Constructor Detail |
---|
public ArrayNodeListIterator(int[] nodes)
Method Detail |
---|
public int next()
DTMAxisIterator
next
in interface DTMAxisIterator
public DTMAxisIterator reset()
DTMAxisIterator
reset
in interface DTMAxisIterator
public int getLast()
getLast
in interface DTMAxisIterator
public int getPosition()
getPosition
in interface DTMAxisIterator
public void setMark()
DTMAxisIterator
setMark
in interface DTMAxisIterator
public void gotoMark()
DTMAxisIterator
gotoMark
in interface DTMAxisIterator
public DTMAxisIterator setStartNode(int node)
DTMAxisIterator
setStartNode
in interface DTMAxisIterator
node
- Sets the root of the iteration.
public int getStartNode()
DTMAxisIterator
getStartNode
in interface DTMAxisIterator
public boolean isReverse()
isReverse
in interface DTMAxisIterator
public DTMAxisIterator cloneIterator()
cloneIterator
in interface DTMAxisIterator
public void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable
in interface DTMAxisIterator
public 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 |