Class TriXWriterFactory

    • Constructor Detail

      • TriXWriterFactory

        public TriXWriterFactory()
    • Method Detail

      • getWriter

        public RDFWriter getWriter​(java.io.OutputStream out)
        Returns a new instance of TriXWriter.
        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)
        Returns a new instance of TriXWriter.
        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,
                                   java.lang.String baseURI)
        Returns a new instance of TriXWriter.
        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.