public final class DocumentOrderIterator extends java.lang.Object implements SequenceIterator
| Constructor and Description |
|---|
DocumentOrderIterator(SequenceIterator base,
java.util.Comparator<? super NodeInfo> 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, dischargepublic DocumentOrderIterator(SequenceIterator base, java.util.Comparator<? super NodeInfo> comparer)
base - the input sequence to be sortedcomparer - the comparer used for comparing node positionspublic NodeInfo next()
SequenceIteratornext in interface SequenceIteratorCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.