org.openrdf.query.parser
Class QueryParserRegistry
java.lang.Object
info.aduna.lang.service.ServiceRegistry<QueryLanguage,QueryParserFactory>
org.openrdf.query.parser.QueryParserRegistry
public class QueryParserRegistry
- extends ServiceRegistry<QueryLanguage,QueryParserFactory>
A registry that keeps track of the available QueryParserFactorys.
- Author:
- Arjohn Kampman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryParserRegistry
public QueryParserRegistry()
getInstance
public static QueryParserRegistry getInstance()
- Gets the default QueryParserRegistry.
- Returns:
- The default registry.
getKey
protected QueryLanguage getKey(QueryParserFactory factory)
- Description copied from class:
ServiceRegistry
- Gets the key for the specified service.
- Specified by:
getKey in class ServiceRegistry<QueryLanguage,QueryParserFactory>
- Parameters:
factory - The service to get the key for.
- Returns:
- The key for the specified service.
Copyright © 2001-2012 Aduna. All Rights Reserved.