public interface RDFWriterFactory
RDFWriters for a specific RDF format.| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Returns the RDF format for this factory.
|
RDFWriter |
getWriter(OutputStream out)
Returns an RDFWriter instance that will write to the supplied output stream.
|
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns an RDFWriter instance that will write to the supplied output stream.
|
RDFWriter |
getWriter(Writer writer)
Returns an RDFWriter instance that will write to the supplied writer.
|
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns an RDFWriter instance that will write to the supplied writer.
|
RDFFormat getRDFFormat()
RDFWriter getWriter(OutputStream out)
out - The OutputStream to write the RDF to.RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
out - The OutputStream to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionRDFWriter getWriter(Writer writer)
writer - The Writer to write the RDF to.UnsupportedOperationException - if the RDFWriter the specific format does not support writing to a
WriterRDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
writer - The Writer to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionUnsupportedOperationException - if the RDFWriter the specific format does not support writing to a
WriterCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.