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
A
TupleQueryResultWriter that writes tuple query results in the extended form
SPARQL Query Results XML Format.-
Field Summary
Fields inherited from class AbstractSPARQLXMLWriter
documentOpen, headerComplete, headerOpen, tupleVariablesFound, xmlWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsFileFormat(FileFormat format) Check if this Sink accepts the suppliedFileFormat.final TupleQueryResultFormatGets the query result format that this writer uses.Methods inherited from class SPARQLResultsXMLWriter
getQueryResultFormatMethods inherited from class AbstractSPARQLXMLWriter
endDocument, endHeader, endQueryResult, getSupportedSettings, getWriter, handleBoolean, handleLinks, handleNamespace, handleSolutionImpl, handleStylesheet, setPrettyPrint, startDocument, startHeader, startQueryResultMethods inherited from class AbstractQueryResultWriter
getFileFormat, getWriterConfig, handleSolution, setWriterConfig, xsdStringToPlainLiteralMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface QueryResultHandler
endQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResultMethods inherited from interface QueryResultWriter
endHeader, getSupportedSettings, getWriterConfig, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeaderMethods inherited from interface Sink
getFileFormat
-
Constructor Details
-
SPARQLStarResultsXMLWriter
- Parameters:
out-
-
-
Method Details
-
getTupleQueryResultFormat
Description copied from interface:TupleQueryResultWriterGets the query result format that this writer uses.- Specified by:
getTupleQueryResultFormatin interfaceTupleQueryResultWriter- Overrides:
getTupleQueryResultFormatin classSPARQLResultsXMLWriter
-
acceptsFileFormat
Description copied from interface:SinkCheck if this Sink accepts the suppliedFileFormat.- Parameters:
format- theFileFormatto check.- Returns:
trueif the sink accepts the supplied format,falseotherwise.
-