Class SPARQLBooleanJSONWriterFactory
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLBooleanJSONWriterFactory
- All Implemented Interfaces:
BooleanQueryResultWriterFactory
public class SPARQLBooleanJSONWriterFactory
extends Object
implements BooleanQueryResultWriterFactory
A
BooleanQueryResultWriterFactory
for writers of SPARQL/JSON query boolean results.- Author:
- Peter Ansell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsBooleanQueryResultFormat.JSON
.getWriter(OutputStream out)
Returns a new instance of SPARQLResultsJSONWriter.
-
Constructor Details
-
SPARQLBooleanJSONWriterFactory
public SPARQLBooleanJSONWriterFactory()
-
-
Method Details
-
getBooleanQueryResultFormat
ReturnsBooleanQueryResultFormat.JSON
.- Specified by:
getBooleanQueryResultFormat
in interfaceBooleanQueryResultWriterFactory
-
getWriter
Returns a new instance of SPARQLResultsJSONWriter.- Specified by:
getWriter
in interfaceBooleanQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-