Package org.eclipse.rdf4j.rio.rdfxml
Class RDFXMLWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.rdfxml.RDFXMLWriterFactory
- 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 ofRDFXMLWriter
.getWriter
(OutputStream out, String baseURI) Returns a new instance ofRDFXMLWriter
.Returns a new instance ofRDFXMLWriter
.Returns a new instance ofRDFXMLWriter
.
-
Constructor Details
-
RDFXMLWriterFactory
public RDFXMLWriterFactory()
-
-
Method Details
-
getRDFFormat
ReturnsRDFFormat.RDFXML
.- Specified by:
getRDFFormat
in interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofRDFXMLWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.
-
getWriter
Returns a new instance ofRDFXMLWriter
.- 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 ofRDFXMLWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.
-
getWriter
Returns a new instance ofRDFXMLWriter
.- 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
-