Class RDFWriterFImpl

  • All Implemented Interfaces:
    RDFWriterF

    public class RDFWriterFImpl
    extends java.lang.Object
    implements RDFWriterF
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULTLANG  
    • Constructor Summary

      Constructors 
      Constructor Description
      RDFWriterFImpl()
      Creates new RDFReaderFImpl
    • Constructor Detail

      • RDFWriterFImpl

        public RDFWriterFImpl()
        Creates new RDFReaderFImpl
    • Method Detail

      • 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()
        Description copied from interface: RDFWriterF
        return an RDFWriter instance for the default serialization language.
        Specified by:
        getWriter in interface RDFWriterF
        Returns:
        an RDFWriter instance for the default serialization language.
      • getWriter

        public RDFWriterI getWriter​(java.lang.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
        Returns:
        the RDFWriter instance