net.sf.saxon.expr
public class CollationMap extends Object implements Serializable
Constructor Summary | |
---|---|
CollationMap(Configuration config)
Create a collation map | |
CollationMap(CollationMap in)
Create a copy of a collation map |
Method Summary | |
---|---|
StringCollator | getDefaultCollation()
Get the default collation |
String | getDefaultCollationName()
Get the name of the default collation |
StringCollator | getNamedCollation(String name)
Get the collation with a given collation name. |
void | setDefaultCollationName(String name)
Set the name of the default collation |
void | setNamedCollation(String absoluteURI, StringCollator collator)
Register a named collation |
Parameters: config the Saxon configuration
Parameters: in the collation map to be copied
Returns: the default collation, as a StringCollator
Returns: the default collation name (should be a URI, but this is not enforced)
Parameters: name the collation name (should be an absolute URI)
Returns: the StringCollator with this name if known, or null if not known
Parameters: name the default collation name (should be a URI, but this is not enforced)
Parameters: absoluteURI the name of the collation. This should be an absolute URI, but this is not enforced collator the StringCollator that implements the collating rules