org.openrdf.query.resultio
Class TupleQueryResultParserRegistry

java.lang.Object
  extended by info.aduna.lang.service.ServiceRegistry<FF,S>
      extended by info.aduna.lang.service.FileFormatServiceRegistry<TupleQueryResultFormat,TupleQueryResultParserFactory>
          extended by org.openrdf.query.resultio.TupleQueryResultParserRegistry

public class TupleQueryResultParserRegistry
extends FileFormatServiceRegistry<TupleQueryResultFormat,TupleQueryResultParserFactory>

A registry that keeps track of the available TupleQueryResultParserFactorys.

Author:
Arjohn Kampman

Field Summary
 
Fields inherited from class info.aduna.lang.service.ServiceRegistry
logger, services
 
Constructor Summary
TupleQueryResultParserRegistry()
           
 
Method Summary
static TupleQueryResultParserRegistry getInstance()
          Gets the default TupleQueryResultParserRegistry.
protected  TupleQueryResultFormat getKey(TupleQueryResultParserFactory 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

TupleQueryResultParserRegistry

public TupleQueryResultParserRegistry()
Method Detail

getInstance

public static TupleQueryResultParserRegistry getInstance()
Gets the default TupleQueryResultParserRegistry.

Returns:
The default registry.

getKey

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

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


Copyright © 2001-2012 Aduna. All Rights Reserved.