blob: aae66d15df7bcd4f810d91befdb1b149247f8791 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2011 Jesper Moller, and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Jesper Moller - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.xml.xpath2.processor;
import java.util.Comparator;
/**
* Service provider interface for looking up collations from within the dynamic context.
* @since 1.1
*
* @deprecated Use org.eclipse.wst.xml.xpath2.api.CollationProvider instead
*/
public interface CollationProvider {
/**
* Gets the named collator. W3C does not define collation names (yet?) so we are constrained to using an
* implementation-defined naming scheme.
*
* @param name A URI designating the collation to use
* @return The collation to use, or null if no such collation exists by this provider
*/
Comparator get_collation(String name);
}