com.icl.saxon.sort
Class TextComparer
public abstract class TextComparer
A Comparer used for comparing text keys
DEFAULT_CASE_ORDER
public static final int DEFAULT_CASE_ORDER
- 0
LOWERCASE_FIRST
public static final int LOWERCASE_FIRST
- 1
UPPERCASE_FIRST
public static final int UPPERCASE_FIRST
- 2
setCaseOrder
public Comparer setCaseOrder(int caseOrder)
Set case order
caseOrder
- one of DEFAULT_CASE_ORDER, LOWERCASE_FIRST, or UPPERCASE_FIRST.
Indicates whether upper case letters precede or follow lower case letters in the ordering
- either this or a different Comparer that will be used to perform the comparisons.
This allows the TextComparer to delegate the comparison to a Comparer dedicated to a
specific case order.