Constructor and Description |
---|
LazySequence(SequenceIterator iterator) |
Modifier and Type | Method and Description |
---|---|
Item |
head()
Get the first item in the sequence.
|
SequenceIterator |
iterate()
Get an iterator over all the items in the sequence
|
public LazySequence(SequenceIterator iterator)
public Item head() throws XPathException
Sequence
head
in interface Sequence
XPathException
- in the situation where the sequence is evaluated lazily, and
evaluation of the first item causes a dynamic error.public SequenceIterator iterate() throws XPathException
Sequence
iterate
in interface Sequence
XPathException
- in the situation where the sequence is evaluated lazily, and
constructing an iterator over the items causes a dynamic error.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.