public interface StringCollator
Note: an implementation of this interface that wraps a Java RuleBasedCollator is
available: see RuleBasedSubstringMatcher.
| Modifier and Type | Method and Description |
|---|---|
boolean |
comparesEqual(java.lang.String s1,
java.lang.String s2)
Compare two strings for equality.
|
int |
compareStrings(java.lang.String o1,
java.lang.String o2)
Compare two strings
|
AtomicMatchKey |
getCollationKey(java.lang.String s)
Get a collation key for a String.
|
int compareStrings(java.lang.String o1,
java.lang.String o2)
o1 - the first stringo2 - the second stringboolean comparesEqual(java.lang.String s1,
java.lang.String s2)
s1 - the first strings2 - the second stringAtomicMatchKey getCollationKey(java.lang.String s)
s - the string whose collation key is requiredCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.