net.sf.saxon.expr

Class TailExpression.TailIterator

public static class TailExpression.TailIterator extends Object implements SequenceIterator, LastPositionFinder, LookaheadIterator

Constructor Summary
TailIterator(SequenceIterator base, int start)
Method Summary
Itemcurrent()
SequenceIteratorgetAnother()
intgetLastPosition()
intgetProperties()
Get properties of this iterator, as a bit-significant integer.
booleanhasNext()
Itemnext()
intposition()

Constructor Detail

TailIterator

public TailIterator(SequenceIterator base, int start)

Method Detail

current

public Item current()

getAnother

public SequenceIterator getAnother()

getLastPosition

public int getLastPosition()

getProperties

public int getProperties()
Get properties of this iterator, as a bit-significant integer.

Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and LOOKAHEAD. 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.

hasNext

public boolean hasNext()

next

public Item next()

position

public int position()