Class RDFXMLPrettyWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.rdfxml.util.RDFXMLPrettyWriterFactory
- All Implemented Interfaces:
RDFWriterFactory
An
RDFWriterFactory
for RDF/XML writers.- Author:
- Arjohn Kampman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsRDFFormat.RDFXML
.getWriter
(OutputStream out) Returns a new instance ofRDFXMLPrettyWriter
.getWriter
(OutputStream out, String baseURI) Returns a new instance ofRDFXMLPrettyWriter
.Returns a new instance ofRDFXMLPrettyWriter
.Returns a new instance ofRDFXMLPrettyWriter
.
-
Constructor Details
-
RDFXMLPrettyWriterFactory
public RDFXMLPrettyWriterFactory()
-
-
Method Details
-
getRDFFormat
ReturnsRDFFormat.RDFXML
.- Specified by:
getRDFFormat
in interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofRDFXMLPrettyWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.
-
getWriter
Returns a new instance ofRDFXMLPrettyWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-
getWriter
Returns a new instance ofRDFXMLPrettyWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.
-
getWriter
Returns a new instance ofRDFXMLPrettyWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-