public class TriXWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory
for TriX writers.Constructor and Description |
---|
TriXWriterFactory() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.TRIX . |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
TriXWriter . |
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns a new instance of
TriXWriter . |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
TriXWriter . |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns a new instance of
TriXWriter . |
public RDFFormat getRDFFormat()
RDFFormat.TRIX
.getRDFFormat
in interface RDFWriterFactory
public RDFWriter getWriter(OutputStream out)
TriXWriter
.getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI)
TriXWriter
.getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.public RDFWriter getWriter(Writer writer)
TriXWriter
.getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI)
TriXWriter
.getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.