net.sf.saxon.sort
public class StandardCollationURIResolver extends java.lang.Object implements CollationURIResolver
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decode(java.lang.String s) |
static StandardCollationURIResolver |
getInstance()
Return the singleton instance of this class
|
StringCollator |
resolve(java.lang.String uri,
java.lang.String base,
Configuration config)
Create a collator from a parameterized URI
|
public static final StandardCollationURIResolver getInstance()
public StringCollator resolve(java.lang.String uri, java.lang.String base, Configuration config)
resolve
in interface CollationURIResolver
uri
- the collation URI as written in the query or stylesheetbase
- The base URI of the static context where the collation URI
appears. The base URI is available only in cases where the collation URI is resolved
at compile time; in cases where the collation URI is not resolved until execution
time (typically because it is supplied as an expression rather than as a string literal)
this parameter is currently set to null.config
- The configuration. Provided in case the collation URI resolver
needs it.public static java.lang.String decode(java.lang.String s)