org.openrdf.query.parser
Class QueryParserRegistry

java.lang.Object
  extended by info.aduna.lang.service.ServiceRegistry<QueryLanguage,QueryParserFactory>
      extended by org.openrdf.query.parser.QueryParserRegistry

public class QueryParserRegistry
extends info.aduna.lang.service.ServiceRegistry<QueryLanguage,QueryParserFactory>

A registry that keeps track of the available QueryParserFactorys.

Author:
Arjohn Kampman

Field Summary
 
Fields inherited from class info.aduna.lang.service.ServiceRegistry
logger, services
 
Constructor Summary
QueryParserRegistry()
           
 
Method Summary
static QueryParserRegistry getInstance()
          Gets the default QueryParserRegistry.
protected  QueryLanguage getKey(QueryParserFactory factory)
           
 
Methods inherited from class info.aduna.lang.service.ServiceRegistry
add, get, getAll, getKeys, has, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParserRegistry

public QueryParserRegistry()
Method Detail

getInstance

public static QueryParserRegistry getInstance()
Gets the default QueryParserRegistry.

Returns:
The default registry.

getKey

protected QueryLanguage getKey(QueryParserFactory factory)
Specified by:
getKey in class info.aduna.lang.service.ServiceRegistry<QueryLanguage,QueryParserFactory>


Copyright © 2001-2007 Aduna. All Rights Reserved.