|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.om.PrependIterator
An iterator over nodes, that prepends a given node to the nodes returned by another iterator. Used to modify an iterator over axis A to one that iterates over A-OR-SELF.
| Constructor Summary | |
PrependIterator(NodeInfo start,
AxisIterator base)
|
|
| Method Summary | |
Item |
current()
Get the current item in the sequence. |
SequenceIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the start of the sequence |
Item |
next()
Get the next item in the sequence. |
int |
position()
Get the current position |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrependIterator(NodeInfo start,
AxisIterator base)
| Method Detail |
public Item next()
next in interface AxisIteratorpublic Item current()
current in interface AxisIteratorpublic int position()
position in interface AxisIteratorpublic SequenceIterator getAnother()
getAnother in interface AxisIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||