|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xalan.xsltc.dom.SortingIterator
public final class SortingIterator
| Field Summary |
|---|
| Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
|---|
END |
| Constructor Summary | |
|---|---|
SortingIterator(DTMAxisIterator source,
NodeSortRecordFactory factory)
|
|
| Method Summary | |
|---|---|
DTMAxisIterator |
cloneIterator()
Clone a SortingIterator by cloning its source
iterator and then sharing the factory and the array of
NodeSortRecords. |
int |
getLast()
Returns the position of the last node within the iteration, as defined by XPath. |
int |
getPosition()
|
void |
gotoMark()
Restores the current node remembered by setMark(). |
int |
next()
Get the next node in the iteration. |
void |
setMark()
Remembers the current node for the next call to gotoMark(). |
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. |
| Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
|---|
getAxis, getNodeByPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortingIterator(DTMAxisIterator source,
NodeSortRecordFactory factory)
| Method Detail |
|---|
public int next()
DTMAxisIterator
public DTMAxisIterator setStartNode(int node)
DTMAxisIterator
node - Sets the root of the iteration.
public int getPosition()
getPosition in interface DTMAxisIteratorgetPosition in class DTMAxisIteratorBasepublic int getLast()
DTMAxisIteratorBase
getLast in interface DTMAxisIteratorgetLast in class DTMAxisIteratorBasepublic void setMark()
DTMAxisIterator
public void gotoMark()
DTMAxisIterator
public DTMAxisIterator cloneIterator()
SortingIterator by cloning its source
iterator and then sharing the factory and the array of
NodeSortRecords.
cloneIterator in interface DTMAxisIteratorcloneIterator in class DTMAxisIteratorBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||