org.openrdf.query.resultio
Class TupleQueryResultWriterRegistry
java.lang.Object
info.aduna.lang.service.ServiceRegistry<FF,S>
info.aduna.lang.service.FileFormatServiceRegistry<TupleQueryResultFormat,TupleQueryResultWriterFactory>
org.openrdf.query.resultio.TupleQueryResultWriterRegistry
public class TupleQueryResultWriterRegistry
- extends FileFormatServiceRegistry<TupleQueryResultFormat,TupleQueryResultWriterFactory>
A registry that keeps track of the available
TupleQueryResultWriterFactorys.
- Author:
- Arjohn Kampman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleQueryResultWriterRegistry
public TupleQueryResultWriterRegistry()
getInstance
public static TupleQueryResultWriterRegistry getInstance()
- Gets the default TupleQueryResultWriterRegistry.
- Returns:
- The default registry.
getKey
protected TupleQueryResultFormat getKey(TupleQueryResultWriterFactory factory)
- Description copied from class:
ServiceRegistry
- Gets the key for the specified service.
- Specified by:
getKey in class ServiceRegistry<TupleQueryResultFormat,TupleQueryResultWriterFactory>
- Parameters:
factory - The service to get the key for.
- Returns:
- The key for the specified service.
Copyright © 2001-2012 Aduna. All Rights Reserved.