public final class DocumentOrderIterator extends java.lang.Object implements SequenceIterator
SequenceIterator.Property| Constructor and Description |
|---|
DocumentOrderIterator(SequenceIterator base,
ItemOrderComparer comparer)
Iterate over a sequence in document order.
|
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
next()
Get the next item in the sequence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, forEachOrFail, getProperties, materializepublic DocumentOrderIterator(SequenceIterator base, ItemOrderComparer comparer) throws XPathException
base - the input sequence to be sortedcomparer - the comparer used for comparing node positionsXPathException - if the input sequence cannot be evaluated, or if it contains an item
that is not a nodepublic NodeInfo next() throws XPathException
SequenceIteratornext in interface SequenceIteratorXPathException - if an error occurs retrieving the next itemCopyright (c) 2004-2021 Saxonica Limited. All rights reserved.