Class RDFWriterRIOT

All Implemented Interfaces:

public class RDFWriterRIOT extends Object implements org.apache.jena.rdf.model.RDFWriterI
This class is used for indirecting all model.write calls to RIOT. It implements Jena core RDFWriterI can calls WriterGraphRIOT.

For RDF/XML, that WriterGraphRIOT is a AdapterRDFWriter that calls the old style RDFWriterI interface.

AdapterRDFWriter is a WriterGraphRIOT over a RDFWriterI.

  • Constructor Details

    • RDFWriterRIOT

      public RDFWriterRIOT(String jenaName)
  • Method Details

    • write

      public void write(org.apache.jena.rdf.model.Model model, Writer out, String base)
      Specified by:
      write in interface org.apache.jena.rdf.model.RDFWriterI
    • write

      public void write(org.apache.jena.rdf.model.Model model, OutputStream out, String base)
      Specified by:
      write in interface org.apache.jena.rdf.model.RDFWriterI
    • setProperty

      public Object setProperty(String propName, Object propValue)
      Specified by:
      setProperty in interface org.apache.jena.rdf.model.RDFWriterI
    • setErrorHandler

      public org.apache.jena.rdf.model.RDFErrorHandler setErrorHandler(org.apache.jena.rdf.model.RDFErrorHandler errHandler)
      Specified by:
      setErrorHandler in interface org.apache.jena.rdf.model.RDFWriterI