net.sf.saxon.expr
public class TailIterator extends Object implements SequenceIterator, LastPositionFinder, LookaheadIterator
Method Summary | |
---|---|
void | close() |
Item | current() |
SequenceIterator | getAnother() |
int | getLastPosition() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
boolean | hasNext() |
static SequenceIterator | make(SequenceIterator base, int start)
Static factory method. |
Item | next() |
int | position() |
Returns: the properties of this iterator. This will be some combination of properties such as TailIterator, TailIterator, and TailIterator. It is always acceptable 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.
Parameters: base An iteration of the items to be filtered start The position of the first item to be included (base 1). If <= 1, the whole of the base sequence is returned
Returns: an iterator over the items in the sequence from the start item to the end of the sequence. The returned iterator will not necessarily be an instance of this class.