com.icl.saxon.sort
Class Compare_en
public
class
Compare_en
extends TextComparer
A Comparer used with lang="en". Note this only does anything intelligent with characters
in ISO 8859/1, which are mapped to their unaccented equivalents
Author: Michael H. Kay
Method Summary |
int | compare(Object a, Object b)
Compare two string objects, in three phases:
(a) ignoring accents and case
(b) if still equal, ignoring case
(c) if still equal, taking case into account |
Comparer | setCaseOrder(int caseOrder) |
int caseOrder
public int compare(Object a, Object b)
Compare two string objects, in three phases:
(a) ignoring accents and case
(b) if still equal, ignoring case
(c) if still equal, taking case into account
Returns: <0 if a0 if a>b
public
Comparer setCaseOrder(int caseOrder)