public class RDFXMLPrettyWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory for RDF/XML writers.| Constructor and Description |
|---|
RDFXMLPrettyWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.RDFXML. |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
RDFXMLPrettyWriter. |
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns a new instance of
RDFXMLPrettyWriter. |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
RDFXMLPrettyWriter. |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns a new instance of
RDFXMLPrettyWriter. |
public RDFFormat getRDFFormat()
RDFFormat.RDFXML.getRDFFormat in interface RDFWriterFactorypublic RDFWriter getWriter(OutputStream out)
RDFXMLPrettyWriter.getWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
RDFXMLPrettyWriter.getWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionpublic RDFWriter getWriter(Writer writer)
RDFXMLPrettyWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
RDFXMLPrettyWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.