public interface CollationURIResolver
StringCollatoras output. A CollationURIResolver can be registered with the Configuration (or with a TransformerFactory) to resolve all collation URIs used in a stylesheet or query.
StringCollator resolve(String collationURI, Configuration config) throws XPathException
collationURI- the collation URI as written in the query or stylesheet, after resolving against the base URI where necessary
config- The configuration. Provided in case the collation URI resolver needs it.
If the Collation URI is not recognized, return null.
Note that unlike the JAXP URIResolver, returning null does not cause the default
CollationURIResolver to be invoked; if this is required, the user-written CollationURIResolver
should explicitly instantiate and invoke the
XPathException- if the form of the URI is recognized, but if it is not valid, for example because it is not supported in this environment. In this case of the UCA collation, this exception is thrown when there are invalid parameters and fallback=no is specified.
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.