public interface GroundedIterator extends SequenceIterator
We stretch the concept to consider an iterator over a MemoClosure as a grounded iterator, on the basis that the in-memory sequence might exist already or might be created as a side-effect of navigating the iterator. This is why materializing the iterator can raise an exception.
GroundedValue materialize() throws XPathException
XPathException- in the cases of subclasses (such as the iterator over a MemoClosure) which cause evaluation of expressions while materializing the value.
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.