Package net.sf.saxon.java
Class JavaCollationFactory
java.lang.Object
net.sf.saxon.java.JavaCollationFactory
A JavaCollationFactory allows a Collation to be created given
a set of properties that the collation should have. This class creates a collator using
the facilities of the Java platform; there is a corresponding class that uses the .NET
platform.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringCollator
makeCollation
(Configuration config, String uri, Properties props) Make a collator with given properties
-
Method Details
-
makeCollation
public static StringCollator makeCollation(Configuration config, String uri, Properties props) throws XPathException Make a collator with given properties- Parameters:
config
- the Configurationuri
- the Collation URIprops
- the desired properties of the collation- Returns:
- a collation with these properties
- Throws:
XPathException
- if any error occurs
-