Class SPARQLStarResultsXMLWriter
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.AbstractQueryResultWriter
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLWriter
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLResultsXMLWriter
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLStarResultsXMLWriter
-
- All Implemented Interfaces:
CharSink,Sink,QueryResultHandler,QueryResultWriter,TupleQueryResultWriter,TupleQueryResultHandler
@Experimental public class SPARQLStarResultsXMLWriter extends SPARQLResultsXMLWriter
ATupleQueryResultWriterthat writes tuple query results in the extended form 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 SPARQLStarResultsXMLWriter(java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsFileFormat(FileFormat format)Check if this Sink accepts the suppliedFileFormat.TupleQueryResultFormatgetTupleQueryResultFormat()Gets the query result format that this writer uses.-
Methods inherited from class org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLResultsXMLWriter
getQueryResultFormat
-
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
getFileFormat
-
-
-
-
Method Detail
-
getTupleQueryResultFormat
public final TupleQueryResultFormat getTupleQueryResultFormat()
Description copied from interface:TupleQueryResultWriterGets the query result format that this writer uses.- Specified by:
getTupleQueryResultFormatin interfaceTupleQueryResultWriter- Overrides:
getTupleQueryResultFormatin classSPARQLResultsXMLWriter
-
acceptsFileFormat
public boolean acceptsFileFormat(FileFormat format)
Description copied from interface:SinkCheck if this Sink accepts the suppliedFileFormat.- Parameters:
format- theFileFormatto check.- Returns:
trueif the sink accepts the supplied format,falseotherwise.
-
-