public interface Sequence
Modifier and Type | Method and Description |
---|---|
Item |
head()
Get the first item in the sequence.
|
SequenceIterator<? extends Item> |
iterate()
Get an iterator
performance characteristics, though all should exhibit the same behaviour.over all the items in the sequence
|
Item head() throws XPathException
XPathException
- in the situation where the sequence is evaluated lazily, and
evaluation of the first item causes a dynamic error.SequenceIterator<? extends Item> iterate() throws XPathException
XPathException
- in the situation where the sequence is evaluated lazily, and
constructing an iterator over the items causes a dynamic error.Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.