net.sf.saxon.style

Class SaxonCollation

public class SaxonCollation extends StyleElement

A saxon:collation element in the style sheet: this is a top-level element that defines details of a named collation. The attributes of the element provide different ways of instantiating an instance of java.util.Comparator
Method Summary
Expressioncompile(Executable exec)
StringgetCollationName()
ComparatorgetCollator()
booleanisDefaultCollation()
static voidmain(String[] args)
Utility method to print details of the locales for which a collator is available.
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

getCollationName

public String getCollationName()

getCollator

public Comparator getCollator()

isDefaultCollation

public boolean isDefaultCollation()

main

public static void main(String[] args)
Utility method to print details of the locales for which a collator is available. (The results depend on the Java VM)

prepareAttributes

public void prepareAttributes()

validate

public void validate()