Search in sources :

Example 1 with RDFXMLWriterFactory

use of org.openrdf.rio.rdfxml.RDFXMLWriterFactory in project qi4j-sdk by Qi4j.

the class ApplicationXmlTest method writeXml.

private void writeXml(Iterable<Statement> graph) throws RDFHandlerException, IOException {
    RDFWriterFactory writerFactory = new RDFXMLWriterFactory();
    RDFWriter writer = writerFactory.getWriter(System.out);
    writeOutput(writer, graph);
}
Also used : RDFWriterFactory(org.openrdf.rio.RDFWriterFactory) RDFXMLWriterFactory(org.openrdf.rio.rdfxml.RDFXMLWriterFactory) RDFWriter(org.openrdf.rio.RDFWriter)

Aggregations

RDFWriter (org.openrdf.rio.RDFWriter)1 RDFWriterFactory (org.openrdf.rio.RDFWriterFactory)1 RDFXMLWriterFactory (org.openrdf.rio.rdfxml.RDFXMLWriterFactory)1