Class RDFJSONWriterFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RDFFormat getRDFFormat()
      Returns the RDF format for this factory.
      RDFWriter getWriter​(java.io.OutputStream out)
      Returns an RDFWriter instance that will write to the supplied output stream.
      RDFWriter getWriter​(java.io.OutputStream out, java.lang.String baseURI)
      Returns an RDFWriter instance that will write to the supplied output stream.
      RDFWriter getWriter​(java.io.Writer writer)
      Returns an RDFWriter instance that will write to the supplied writer.
      RDFWriter getWriter​(java.io.Writer writer, java.lang.String baseURI)
      Returns an RDFWriter instance that will write to the supplied writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RDFJSONWriterFactory

        public RDFJSONWriterFactory()
    • Method Detail

      • getWriter

        public RDFWriter getWriter​(java.io.OutputStream out)
        Description copied from interface: RDFWriterFactory
        Returns an RDFWriter instance that will write to the supplied output stream.
        Specified by:
        getWriter in interface RDFWriterFactory
        Parameters:
        out - The OutputStream to write the RDF to.
      • getWriter

        public RDFWriter getWriter​(java.io.OutputStream out,
                                   java.lang.String baseURI)
        Description copied from interface: RDFWriterFactory
        Returns an RDFWriter instance that will write to the supplied output stream. Using the supplied baseURI to relativize IRIs to relative IRIs.
        Specified by:
        getWriter in interface RDFWriterFactory
        Parameters:
        out - The OutputStream to write the RDF to.
        baseURI - The URI associated with the data in the InputStream.
      • getWriter

        public RDFWriter getWriter​(java.io.Writer writer)
        Description copied from interface: RDFWriterFactory
        Returns an RDFWriter instance that will write to the supplied writer. (Optional operation)
        Specified by:
        getWriter in interface RDFWriterFactory
        Parameters:
        writer - The Writer to write the RDF to.
      • getWriter

        public RDFWriter getWriter​(java.io.Writer writer,
                                   java.lang.String baseURI)
        Description copied from interface: RDFWriterFactory
        Returns an RDFWriter instance that will write to the supplied writer. Using the supplied baseURI to relativize IRIs to relative IRIs. (Optional operation)
        Specified by:
        getWriter in interface RDFWriterFactory
        Parameters:
        writer - The Writer to write the RDF to.
        baseURI - The URI associated with the data in the InputStream.