Class TriXWriter

All Implemented Interfaces:
CharSink, Sink, RDFHandler, RDFWriter

public class TriXWriter extends AbstractRDFWriter implements CharSink
An implementation of the RDFWriter interface that writes RDF documents in TriX format.
Author:
Arjohn Kampman
  • Constructor Details

    • TriXWriter

      public TriXWriter(OutputStream out)
      Creates a new TriXWriter that will write to the supplied OutputStream.
      Parameters:
      out - The OutputStream to write the RDF/XML document to.
    • TriXWriter

      public TriXWriter(Writer writer)
      Creates a new TriXWriter that will write to the supplied Writer.
      Parameters:
      writer - The Writer to write the RDF/XML document to.
    • TriXWriter

      protected TriXWriter(XMLWriter xmlWriter)
  • Method Details