Class SPARQLBooleanXMLWriter
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.AbstractQueryResultWriter
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLWriter
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLBooleanXMLWriter
-
- All Implemented Interfaces:
CharSink
,Sink
,BooleanQueryResultHandler
,QueryResultHandler
,BooleanQueryResultWriter
,QueryResultWriter
public class SPARQLBooleanXMLWriter extends AbstractSPARQLXMLWriter implements BooleanQueryResultWriter
ABooleanQueryResultWriter
that writes boolean query results in the SPARQL Query Results XML Format.
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLWriter
documentOpen, headerComplete, headerOpen, tupleVariablesFound, xmlWriter
-
-
Constructor Summary
Constructors Constructor Description SPARQLBooleanXMLWriter(java.io.OutputStream out)
SPARQLBooleanXMLWriter(java.io.Writer writer)
SPARQLBooleanXMLWriter(XMLWriter xmlWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanQueryResultFormat
getBooleanQueryResultFormat()
Gets the query result format that this writer uses.BooleanQueryResultFormat
getQueryResultFormat()
Gets the query result format that this writer uses.void
write(boolean value)
Writes the specified boolean value.-
Methods inherited from class org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLWriter
endDocument, endHeader, endQueryResult, getSupportedSettings, getWriter, handleBoolean, handleLinks, handleNamespace, handleSolutionImpl, handleStylesheet, setPrettyPrint, startDocument, startHeader, startQueryResult
-
Methods inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultWriter
getFileFormat, getWriterConfig, handleSolution, setWriterConfig, xsdStringToPlainLiteral
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.QueryResultHandler
endQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResult
-
Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultWriter
endHeader, getSupportedSettings, getWriterConfig, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeader
-
Methods inherited from interface org.eclipse.rdf4j.common.io.Sink
acceptsFileFormat, getFileFormat
-
-
-
-
Constructor Detail
-
SPARQLBooleanXMLWriter
public SPARQLBooleanXMLWriter(java.io.OutputStream out)
-
SPARQLBooleanXMLWriter
public SPARQLBooleanXMLWriter(java.io.Writer writer)
-
SPARQLBooleanXMLWriter
public SPARQLBooleanXMLWriter(XMLWriter xmlWriter)
-
-
Method Detail
-
getBooleanQueryResultFormat
public final BooleanQueryResultFormat getBooleanQueryResultFormat()
Description copied from interface:BooleanQueryResultWriter
Gets the query result format that this writer uses.- Specified by:
getBooleanQueryResultFormat
in interfaceBooleanQueryResultWriter
-
getQueryResultFormat
public final BooleanQueryResultFormat getQueryResultFormat()
Description copied from interface:QueryResultWriter
Gets the query result format that this writer uses.- Specified by:
getQueryResultFormat
in interfaceQueryResultWriter
-
write
public void write(boolean value) throws java.io.IOException
Description copied from interface:BooleanQueryResultWriter
Writes the specified boolean value.- Specified by:
write
in interfaceBooleanQueryResultWriter
- Throws:
java.io.IOException
-
-