| java.lang.Object net.sf.saxon.om.PrependIterator
PrependIterator | public class PrependIterator implements AxisIterator(Code) | | 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.
|
current | public Item current()(Code) | | Get the current item in the sequence.
the current item, that is, the item most recently returned bynext() |
getAnother | public SequenceIterator getAnother()(Code) | | Get another iterator over the same sequence of items, positioned at the
start of the sequence
a new iterator over the same sequence |
getProperties | public int getProperties()(Code) | | Get properties of this iterator, as a bit-significant integer.
the properties of this iterator. This will be some combination ofproperties such as GROUNDED, LAST_POSITION_FINDER,and LOOKAHEAD. It is alwaysacceptable to return the value zero, indicating that there are no known special properties.It is acceptable for the properties of the iterator to change depending on its state. |
next | public Item next()(Code) | | Get the next item in the sequence.
the next Item. If there are no more nodes, return null. |
position | public int position()(Code) | | Get the current position
the position of the current item (the item most recentlyreturned by next()), starting at 1 for the first node |
|
|