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 info.aduna.lang.service.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)
           
 
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)
Specified by:
getKey in class info.aduna.lang.service.ServiceRegistry<TupleQueryResultFormat,TupleQueryResultParserFactory>


Copyright © 2001-2007 Aduna. All Rights Reserved.