public class CollationMap extends Object implements Serializable
| Constructor and Description |
|---|
CollationMap(CollationMap in)
Create a copy of a collation map
|
CollationMap(Configuration config)
Create a collation map
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public CollationMap(Configuration config)
config - the Saxon configurationpublic CollationMap(CollationMap in)
in - the collation map to be copiedpublic void setDefaultCollationName(String name)
name - the default collation name (should be a URI, but this is not enforced)NullPointerException - if the supplied name is nullpublic String getDefaultCollationName()
public StringCollator getDefaultCollation()
public void setNamedCollation(String absoluteURI, StringCollator collator)
absoluteURI - the name of the collation. This should be an absolute URI, but
this is not enforcedcollator - the StringCollator that implements the collating rulespublic StringCollator getNamedCollation(String name)
name - the collation name (should be an absolute URI)Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.