Package org.eclipse.rdf4j.query.parser
Class QueryParserRegistry
- java.lang.Object
-
- org.eclipse.rdf4j.common.lang.service.ServiceRegistry<QueryLanguage,QueryParserFactory>
-
- org.eclipse.rdf4j.query.parser.QueryParserRegistry
-
public class QueryParserRegistry extends ServiceRegistry<QueryLanguage,QueryParserFactory>
A registry that keeps track of the availableQueryParserFactorys.- Author:
- Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description QueryParserRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryParserRegistrygetInstance()Gets the default QueryParserRegistry.protected QueryLanguagegetKey(QueryParserFactory factory)Gets the key for the specified service.
-
-
-
Method Detail
-
getInstance
public static QueryParserRegistry getInstance()
Gets the default QueryParserRegistry.- Returns:
- The default registry.
-
getKey
protected QueryLanguage getKey(QueryParserFactory factory)
Description copied from class:ServiceRegistryGets the key for the specified service.- Specified by:
getKeyin classServiceRegistry<QueryLanguage,QueryParserFactory>- Parameters:
factory- The service to get the key for.- Returns:
- The key for the specified service.
-
-