Interface RDFWriterFactory

All Known Implementing Classes:
BinaryRDFWriter.BinaryRDFWriterFactory, JSONLDWriter.JSONLDWriterFactory, NQuadsWriter.NQuadsWriterFactory, NTWriter.NTWriterFactory, PrettyTurtleWriter.PrettyTurtleWriterFactory, RDFJSONWriter.RDFJSONWriterFactory, RDFXMLWriter.RDFXMLWriterFactory, StreamingJSONLDWriter.StreamingJSONLDWriterFactory, TrigWriter.TrigWriterFactory, TurtleWriter.TurtleWriterFactory

public interface RDFWriterFactory
Factory interface for creating instances of the RDFWriter
Since:
1.0
Version:
1.0
Author:
Michael Grove
See Also:
  • Method Details

    • format

      @Nonnull RDFFormat format()
      The format this writer will serialize output in
      Returns:
      the format
    • create

      @Nonnull RDFWriter create(@Nonnull OutputStream theStream, @Nonnull Options theOptions)
      Create a new `RDFWriter`
      Parameters:
      theStream - the stream to write to
      theOptions - the writer options
      Returns:
      the new `RDFWriter`