Class RioRDFPrefixDocumentFormat

java.lang.Object
org.semanticweb.owlapi.model.OWLDocumentFormatImpl
org.semanticweb.owlapi.formats.PrefixDocumentFormatImpl
org.semanticweb.owlapi.formats.AbstractRDFPrefixDocumentFormat
org.semanticweb.owlapi.formats.RioRDFPrefixDocumentFormat
All Implemented Interfaces:
Serializable, org.semanticweb.owlapi.formats.PrefixDocumentFormat, org.semanticweb.owlapi.formats.RDFDocumentFormat, RioRDFDocumentFormat, org.semanticweb.owlapi.model.MIMETypeAware, org.semanticweb.owlapi.model.OWLDocumentFormat, org.semanticweb.owlapi.model.PrefixManager
Direct Known Subclasses:
BinaryRDFDocumentFormat, HDTRDFDocumentFormat, N3DocumentFormat, RDFaDocumentFormat, RioRDFXMLDocumentFormat, RioTurtleDocumentFormat, TrigDocumentFormat, TrixDocumentFormat

public class RioRDFPrefixDocumentFormat extends org.semanticweb.owlapi.formats.AbstractRDFPrefixDocumentFormat implements org.semanticweb.owlapi.model.MIMETypeAware, RioRDFDocumentFormat
This format is designed to encapsulate any Sesame Rio RDFFormat within RDFOntologyFormat, and more generally OWLDocumentFormat.
Since:
4.0.0
Author:
Peter Ansell [email protected]
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    RioRDFPrefixDocumentFormat(org.eclipse.rdf4j.rio.RDFFormat format)
    Constructor for super-classes to specify which RDFFormat they support.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    org.eclipse.rdf4j.rio.RDFFormat
     
    boolean
     

    Methods inherited from class org.semanticweb.owlapi.formats.AbstractRDFPrefixDocumentFormat

    addError

    Methods inherited from class org.semanticweb.owlapi.formats.PrefixDocumentFormatImpl

    clear, containsPrefixMapping, copyPrefixesFrom, copyPrefixesFrom, getDefaultPrefix, getIRI, getPrefix, getPrefixComparator, getPrefixIRI, getPrefixIRIIgnoreQName, getPrefixName2PrefixMap, isPrefixOWLDocumentFormat, prefixNames, setDefaultPrefix, setPrefix, setPrefixComparator, setPrefixManager, unregisterNamespace

    Methods inherited from class org.semanticweb.owlapi.model.OWLDocumentFormatImpl

    equals, getOntologyLoaderMetaData, getParameter, hashCode, isAddMissingTypes, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameter, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.semanticweb.owlapi.model.OWLDocumentFormat

    asPrefixOWLDocumentFormat, getOntologyLoaderMetaData, getParameter, isAddMissingTypes, isPrefixOWLDocumentFormat, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameter, supportsRelativeIRIs

    Methods inherited from interface org.semanticweb.owlapi.model.PrefixManager

    getPrefixNames

    Methods inherited from interface org.semanticweb.owlapi.formats.RDFDocumentFormat

    addError
  • Constructor Details

    • RioRDFPrefixDocumentFormat

      public RioRDFPrefixDocumentFormat(org.eclipse.rdf4j.rio.RDFFormat format)
      Constructor for super-classes to specify which RDFFormat they support.
      Parameters:
      format - The RDFFormat that this instance supports.
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.semanticweb.owlapi.model.OWLDocumentFormat
      Overrides:
      getKey in class org.semanticweb.owlapi.formats.PrefixDocumentFormatImpl
    • getRioFormat

      public org.eclipse.rdf4j.rio.RDFFormat getRioFormat()
      Specified by:
      getRioFormat in interface RioRDFDocumentFormat
      Returns:
      Rio format for this format
    • getDefaultMIMEType

      @Nullable public String getDefaultMIMEType()
      Specified by:
      getDefaultMIMEType in interface org.semanticweb.owlapi.model.MIMETypeAware
    • getMIMETypes

      public List<String> getMIMETypes()
      Specified by:
      getMIMETypes in interface org.semanticweb.owlapi.model.MIMETypeAware
    • handlesMimeType

      public boolean handlesMimeType(String mimeType)
      Specified by:
      handlesMimeType in interface org.semanticweb.owlapi.model.MIMETypeAware