net.sf.saxon.expr
public class PositionIterator extends Object implements SequenceIterator, LookaheadIterator
Method Summary | |
---|---|
Item | current() |
SequenceIterator | getAnother()
Get another iterator to return the same nodes |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
boolean | hasNext()
Test whether there are any more items available in the enumeration |
static SequenceIterator | make(SequenceIterator base, int min, int max)
Static factory method. |
Item | next()
Get the next item if there is one |
int | position() |
Returns: the properties of this iterator. This will be some combination of properties such as PositionIterator, PositionIterator, and PositionIterator. 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 min The position of the first item to be included (base 1) max The position of the last item to be included (base 1)