com.icl.saxon.expr
public final class SortKeyEnumeration extends Object implements NodeEnumeration, LastPositionFinder, Sortable
Field Summary | |
---|---|
protected NodeEnumeration | base |
Constructor Summary | |
---|---|
SortKeyEnumeration(Context context, NodeEnumeration _base, SortKeyDefinition[] sortkeys) |
Method Summary | |
---|---|
int | compare(int a, int b)
Compare two nodes in sorted sequence
(needed to implement the Sortable interface) |
int | getLastPosition() |
boolean | hasMoreElements()
Determine whether there are more nodes |
boolean | isPeer() |
boolean | isReverseSorted() |
boolean | isSorted() |
NodeInfo | nextElement()
Get the next node, in sorted order |
void | swap(int a, int b)
Swap two nodes (needed to implement the Sortable interface) |