| java.lang.Object net.sf.saxon.sort.DocumentOrderIterator
DocumentOrderIterator | final public class DocumentOrderIterator implements SequenceIterator,Sortable(Code) | | 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)(Code) | | Compare two nodes in document sequence
(needed to implement the Sortable interface)
|
getProperties | public int getProperties()(Code) | | Get properties of this iterator, as a bit-significant integer.
the properties of this iterator. This will be some combination ofproperties such as GROUNDED, LAST_POSITION_FINDER,and LOOKAHEAD. It is alwaysacceptable to return the value zero, indicating that there are no known special properties.It is acceptable for the properties of the iterator to change depending on its state. |
position | public int position()(Code) | | |
swap | public void swap(int a, int b)(Code) | | Swap two nodes (needed to implement the Sortable interface)
|
|
|