public class SPARQLBooleanJSONWriterFactory extends Object implements BooleanQueryResultWriterFactory
BooleanQueryResultWriterFactory
for writers of SPARQL/JSON query boolean results.Constructor and Description |
---|
SPARQLBooleanJSONWriterFactory() |
Modifier and Type | Method and Description |
---|---|
BooleanQueryResultFormat |
getBooleanQueryResultFormat()
Returns
BooleanQueryResultFormat.JSON . |
BooleanQueryResultWriter |
getWriter(OutputStream out)
Returns a new instance of SPARQLResultsJSONWriter.
|
public BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultFormat.JSON
.getBooleanQueryResultFormat
in interface BooleanQueryResultWriterFactory
public BooleanQueryResultWriter getWriter(OutputStream out)
getWriter
in interface BooleanQueryResultWriterFactory
out
- The OutputStream to write the result to.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.