public interface AtomizedValueIterator extends SequenceIterator
This exists to make it possible to iterate over the atomized nodes in a sequence, especially a sequence obtained from the TinyTree, without actually instantiating the nodes themselves.
|Modifier and Type||Method and Description|
Get another SequenceIterator that iterates over the same items as the original, but which is repositioned at the start of the sequence.
Deliver the atomic value that is next in the atomized result
AtomicSequence nextAtomizedValue() throws XPathException
XPathException- if a failure occurs reading or atomizing the next value
AtomizedValueIterator getAnother() throws XPathException
This method allows access to all the items in the sequence without disturbing the current position of the iterator. Internally, its main use is in evaluating the last() function.
This method does not change the state of the iterator.
Some implementations of this method may regenerate the input sequence, creating new nodes with different identity from the original. This is not recommended, but is hard to prevent. This causes no problem for the primary usage of this method to support the last() function, but it has been known to cause trouble in other situations.
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.