Package org.eclipse.rdf4j.query.resultio
Class BooleanQueryResultWriterRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<FF,S>
org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry<QueryResultFormat,BooleanQueryResultWriterFactory>
org.eclipse.rdf4j.query.resultio.BooleanQueryResultWriterRegistry
public class BooleanQueryResultWriterRegistry
extends FileFormatServiceRegistry<QueryResultFormat,BooleanQueryResultWriterFactory>
A registry that keeps track of the available
BooleanQueryResultWriterFactory
s.- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default BooleanQueryResultWriterRegistry.protected QueryResultFormat
getKey
(BooleanQueryResultWriterFactory factory) Gets the key for the specified service.Methods inherited from class org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForMIMEType
-
Constructor Details
-
BooleanQueryResultWriterRegistry
public BooleanQueryResultWriterRegistry()
-
-
Method Details
-
getInstance
Gets the default BooleanQueryResultWriterRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<QueryResultFormat,
BooleanQueryResultWriterFactory> - Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-