Package org.eclipse.wst.xml.xpath2.processor


org.eclipse.wst.xml.xpath2.processor
Class CollationProvider



public class CollationProvider
extends 
Service provider interface for looking up collations from within the dynamic context.


Method Summary

public java.util.Comparatorget_collation(java.lang.String name)
     Gets the named collator. W3C does not define collation names (yet?) so we are constrained to using an implementation-defined naming scheme.

Methods Detail

get_collation

public java.util.Comparator get_collation(java.lang.String name)

Gets the named collator. W3C does not define collation names (yet?) so we are constrained to using an implementation-defined naming scheme.

Parameters

name - A URI designating the collation to use

Returns

java.util.Comparator - The collation to use, or null if no such collation exists by this provider