|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 DTMAxisIteratorpublic DTMAxisIterator reset()
DTMAxisIterator
reset in interface DTMAxisIteratorpublic int getLast()
getLast in interface DTMAxisIteratorpublic int getPosition()
getPosition in interface DTMAxisIteratorpublic void setMark()
DTMAxisIterator
setMark in interface DTMAxisIteratorpublic void gotoMark()
DTMAxisIterator
gotoMark in interface DTMAxisIteratorpublic DTMAxisIterator setStartNode(int node)
DTMAxisIterator
setStartNode in interface DTMAxisIteratornode - Sets the root of the iteration.
public int getStartNode()
DTMAxisIterator
getStartNode in interface DTMAxisIteratorpublic boolean isReverse()
isReverse in interface DTMAxisIteratorpublic DTMAxisIterator cloneIterator()
cloneIterator in interface DTMAxisIteratorpublic void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable in interface DTMAxisIteratorpublic int getNodeByPosition(int position)
DTMAxisIterator
getNodeByPosition in interface DTMAxisIteratorposition - The position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||