net.sf.saxon.sort
Class CollationFactory
java.lang.Object
net.sf.saxon.sort.CollationFactory
- public class CollationFactory
- extends Object
CollationFactory allows a Collation to be created given a set of parameters,
or a URI containing those parameters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollationFactory
public CollationFactory()
makeUsingProperties
public static Collator makeUsingProperties(String langAtt,
String strengthAtt,
String decompositionAtt)
makeComparator
public static Comparator makeComparator(String className)
throws TransformerException
- Load a named collator class and check it is OK.
- Throws:
TransformerException
makeCollationFromURI
public static Comparator makeCollationFromURI(String uri)
throws TransformerException
- Create a collator from a parameterized URI
- Returns:
- null if the collation URI is not suitable
- Throws:
TransformerException