net.sf.saxon.sort

Class StandardCollationURIResolver

public class StandardCollationURIResolver extends Object implements CollationURIResolver

StandardCollationURIResolver allows a Collation to be created given a URI starting with "http://saxon.sf.net/collation" followed by a set of query parameters.
Constructor Summary
StandardCollationURIResolver()
The class is normally used as a singleton, but the constructor is public to allow the class to be named as a value of the configuration property COLLATION_URI_RESOLVER
Method Summary
static Stringdecode(String s)
static StandardCollationURIResolvergetInstance()
Return the singleton instance of this class
StringCollatorresolve(String uri, String base, Configuration config)
Create a collator from a parameterized URI

Constructor Detail

StandardCollationURIResolver

public StandardCollationURIResolver()
The class is normally used as a singleton, but the constructor is public to allow the class to be named as a value of the configuration property COLLATION_URI_RESOLVER

Method Detail

decode

public static String decode(String s)

getInstance

public static StandardCollationURIResolver getInstance()
Return the singleton instance of this class

resolve

public StringCollator resolve(String uri, String base, Configuration config)
Create a collator from a parameterized URI

Returns: null if the collation URI is not recognized. If the collation URI is recognized but contains errors, the method returns null after sending a warning to the ErrorListener.