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 BooleanQueryResultWriterFactorypublic BooleanQueryResultWriter getWriter(OutputStream out)
getWriter in interface BooleanQueryResultWriterFactoryout - The OutputStream to write the result to.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.