Class RDFWriterFImpl

java.lang.Object
org.apache.jena.rdf.model.impl.RDFWriterFImpl
All Implemented Interfaces:
RDFWriterF

public class RDFWriterFImpl extends Object implements RDFWriterF
  • Field Details

  • Constructor Details

    • RDFWriterFImpl

      public RDFWriterFImpl()
      Creates new RDFReaderFImpl
  • Method Details

    • alternative

      public static void alternative(RDFWriterF other)
      Rewire to use an external RDFWriterF (typically, RIOT). Set to null to use old jena-core setup.
      Parameters:
      other -
    • getCurrentRDFWriterF

      public static RDFWriterF getCurrentRDFWriterF(RDFWriterF other)
      Return the the current "rewiredAlternative" which may be null, meaning RDFWriterFImpl is in use.
    • getWriter

      public RDFWriterI getWriter(String lang)
      Description copied from interface: RDFWriterF
      an RDFWriter instance for the specified serialization language.
      Specified by:
      getWriter in interface RDFWriterF
      Parameters:
      lang - the serialization language - null selects the default (RDF/XML)
      Returns:
      the RDFWriter instance