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
A registry that keeps track of the available
QueryParserFactory
s.- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryParserRegistry
Gets the default QueryParserRegistry.protected QueryLanguage
getKey
(QueryParserFactory factory) Gets the key for the specified service.
-
Constructor Details
-
QueryParserRegistry
public QueryParserRegistry()
-
-
Method Details
-
getInstance
Gets the default QueryParserRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<QueryLanguage,
QueryParserFactory> - Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-