Class SPARQLResultsXMLWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLResultsXMLWriterFactory
-
- All Implemented Interfaces:
TupleQueryResultWriterFactory
public class SPARQLResultsXMLWriterFactory extends java.lang.Object implements TupleQueryResultWriterFactory
ATupleQueryResultWriterFactoryfor writers of SPARQL/XML tuple query results.
-
-
Constructor Summary
Constructors Constructor Description SPARQLResultsXMLWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleQueryResultFormatgetTupleQueryResultFormat()ReturnsTupleQueryResultFormat.SPARQL.TupleQueryResultWritergetWriter(java.io.OutputStream out)Returns a new instance ofSPARQLResultsXMLWriter.
-
-
-
Method Detail
-
getTupleQueryResultFormat
public TupleQueryResultFormat getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.SPARQL.- Specified by:
getTupleQueryResultFormatin interfaceTupleQueryResultWriterFactory
-
getWriter
public TupleQueryResultWriter getWriter(java.io.OutputStream out)
Returns a new instance ofSPARQLResultsXMLWriter.- Specified by:
getWriterin interfaceTupleQueryResultWriterFactory- Parameters:
out- The OutputStream to write the result to.
-
-