public class ICULibrary extends Object
Constructor and Description |
---|
ICULibrary() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasCollator()
Is an ICU collator loaded?
|
static boolean |
hasNumberer()
Is an ICU numberer loaded?
|
static StringCollator |
makeICUCollator(String uri,
Configuration config)
If available, make a collation using the ICU-J Library
|
public static boolean hasCollator()
public static boolean hasNumberer()
public static StringCollator makeICUCollator(String uri, Configuration config) throws XPathException
uri
- the collation URI (which will always be a UCA collation URI as defined in XSLT 3.0)config
- the Saxon configurationXPathException
- if the URI is malformed in some wayCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.