net.sf.saxon.sort
Class DocumentOrderIterator
java.lang.Object
net.sf.saxon.sort.DocumentOrderIterator
- SequenceIterator, Sortable
public final class DocumentOrderIterator
extends java.lang.Object
DocumentOrderIterator takes as input an iteration of nodes in any order, and
returns as output an iteration of the same nodes in document order, eliminating
any duplicates.
compare
public int compare(int a,
int b)
Compare two nodes in document sequence
(needed to implement the Sortable interface)
- compare in interface Sortable
getProperties
public int getProperties()
Get properties of this iterator, as a bit-significant integer.
- getProperties in interface SequenceIterator
swap
public void swap(int a,
int b)
Swap two nodes (needed to implement the Sortable interface)
- swap in interface Sortable