Package org.apache.jena.riot.adapters
Class RDFWriterRIOT
- java.lang.Object
-
- org.apache.jena.riot.adapters.RDFWriterRIOT
-
- All Implemented Interfaces:
RDFWriterI
public class RDFWriterRIOT extends java.lang.Object implements RDFWriterI
This class is used for indirecting all model.write calls to RIOT. It implements Jena coreRDFWriterI
can callsWriterGraphRIOT
.For RDF/XML, that
WriterGraphRIOT
is aAdapterRDFWriter
that calls the old styleRDFWriterI
interface.AdapterRDFWriter
is aWriterGraphRIOT
over aRDFWriterI
.
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.rdf.model.RDFWriterI
NSPREFIXPROPBASE
-
-
Constructor Summary
Constructors Constructor Description RDFWriterRIOT(java.lang.String jenaName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDFErrorHandler
setErrorHandler(RDFErrorHandler errHandler)
java.lang.Object
setProperty(java.lang.String propName, java.lang.Object propValue)
void
write(Model model, java.io.OutputStream out, java.lang.String base)
void
write(Model model, java.io.Writer out, java.lang.String base)
-
-
-
Method Detail
-
write
public void write(Model model, java.io.Writer out, java.lang.String base)
- Specified by:
write
in interfaceRDFWriterI
-
write
public void write(Model model, java.io.OutputStream out, java.lang.String base)
- Specified by:
write
in interfaceRDFWriterI
-
setProperty
public java.lang.Object setProperty(java.lang.String propName, java.lang.Object propValue)
- Specified by:
setProperty
in interfaceRDFWriterI
-
setErrorHandler
public RDFErrorHandler setErrorHandler(RDFErrorHandler errHandler)
- Specified by:
setErrorHandler
in interfaceRDFWriterI
-
-