public interface FocusIterator<T extends Item<?>> extends SequenceIterator<T>
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Modifier and Type | Method and Description |
---|---|
T |
current()
Get the current value in the sequence (the one returned by the
most recent call on next()).
|
int |
getLength()
Get the position of the last item in the sequence
|
int |
position()
Get the current position.
|
close, forEachOrFail, getProperties, materialize, next
T current()
int position()
This method does not change the state of the iterator.
int getLength() throws XPathException
XPathException
- if a failure occurs reading the sequenceCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.