Class SPARQLBooleanJSONWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLBooleanJSONWriterFactory
-
- All Implemented Interfaces:
BooleanQueryResultWriterFactory
public class SPARQLBooleanJSONWriterFactory extends Object implements BooleanQueryResultWriterFactory
ABooleanQueryResultWriterFactoryfor writers of SPARQL/JSON query boolean results.- Author:
- Peter Ansell
-
-
Constructor Summary
Constructors Constructor Description SPARQLBooleanJSONWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanQueryResultFormatgetBooleanQueryResultFormat()ReturnsBooleanQueryResultFormat.JSON.BooleanQueryResultWritergetWriter(OutputStream out)Returns a new instance of SPARQLResultsJSONWriter.
-
-
-
Method Detail
-
getBooleanQueryResultFormat
public BooleanQueryResultFormat getBooleanQueryResultFormat()
ReturnsBooleanQueryResultFormat.JSON.- Specified by:
getBooleanQueryResultFormatin interfaceBooleanQueryResultWriterFactory
-
getWriter
public BooleanQueryResultWriter getWriter(OutputStream out)
Returns a new instance of SPARQLResultsJSONWriter.- Specified by:
getWriterin interfaceBooleanQueryResultWriterFactory- Parameters:
out- The OutputStream to write the result to.
-
-