org.openrdf.query.resultio
Class BooleanQueryResultParserRegistry

java.lang.Object
  extended by info.aduna.lang.service.ServiceRegistry<FF,S>
      extended by info.aduna.lang.service.FileFormatServiceRegistry<BooleanQueryResultFormat,BooleanQueryResultParserFactory>
          extended by org.openrdf.query.resultio.BooleanQueryResultParserRegistry

public class BooleanQueryResultParserRegistry
extends FileFormatServiceRegistry<BooleanQueryResultFormat,BooleanQueryResultParserFactory>

A registry that keeps track of the available BooleanQueryResultParserFactorys.

Author:
Arjohn Kampman

Field Summary
 
Fields inherited from class info.aduna.lang.service.ServiceRegistry
logger, services
 
Constructor Summary
BooleanQueryResultParserRegistry()
           
 
Method Summary
static BooleanQueryResultParserRegistry getInstance()
          Gets the default BooleanQueryResultParserRegistry.
protected  BooleanQueryResultFormat getKey(BooleanQueryResultParserFactory factory)
          Gets the key for the specified service.
 
Methods inherited from class info.aduna.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForFileName, getFileFormatForMIMEType, getFileFormatForMIMEType
 
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

BooleanQueryResultParserRegistry

public BooleanQueryResultParserRegistry()
Method Detail

getInstance

public static BooleanQueryResultParserRegistry getInstance()
Gets the default BooleanQueryResultParserRegistry.

Returns:
The default registry.

getKey

protected BooleanQueryResultFormat getKey(BooleanQueryResultParserFactory factory)
Description copied from class: ServiceRegistry
Gets the key for the specified service.

Specified by:
getKey in class ServiceRegistry<BooleanQueryResultFormat,BooleanQueryResultParserFactory>
Parameters:
factory - The service to get the key for.
Returns:
The key for the specified service.


Copyright © 2001-2012 Aduna. All Rights Reserved.