Interface RDFWriterF

  • All Known Subinterfaces:
    InfModel, Model, OntModel
    All Known Implementing Classes:
    InfModelImpl, ModelCom, MonitorModel, OntModelImpl, RDFWriterFImpl

    public interface RDFWriterF
    An RDFWriter factory interface.

    The factory will create an appropriate writer for the particular serialization language being read. Predefined languages:

    • RDF/XML - default
    • RDF/XML-ABBREV
    • N-TRIPLE

    System wide defaults for classes to use as readers for these languages are defined.

    NOTE: All settings are global in nature

    • Method Detail

      • getWriter

        RDFWriterI getWriter()
        return an RDFWriter instance for the default serialization language.
        Returns:
        an RDFWriter instance for the default serialization language.
      • getWriter

        RDFWriterI getWriter​(java.lang.String lang)
        an RDFWriter instance for the specified serialization language.
        Parameters:
        lang - the serialization language - null selects the default
        Returns:
        the RDFWriter instance