Serializable, org.semanticweb.owlapi.formats.RDFDocumentFormat, RioRDFDocumentFormat, org.semanticweb.owlapi.model.MIMETypeAware, org.semanticweb.owlapi.model.OWLDocumentFormatNQuadsDocumentFormat, NTriplesDocumentFormat, RDFJsonDocumentFormat, RDFJsonLDDocumentFormatpublic class RioRDFNonPrefixDocumentFormat extends org.semanticweb.owlapi.formats.AbstractRDFNonPrefixDocumentFormat implements org.semanticweb.owlapi.model.MIMETypeAware, RioRDFDocumentFormat
| Constructor | Description |
|---|---|
RioRDFNonPrefixDocumentFormat(org.openrdf.rio.RDFFormat format) |
Constructor for super-classes to specify which
RDFFormat they support. |
| Modifier and Type | Method | Description |
|---|---|---|
org.semanticweb.owlapi.formats.PrefixDocumentFormat |
asPrefixOWLOntologyFormat() |
If this format is an instance of
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat. |
String |
getDefaultMIMEType() |
|
String |
getKey() |
|
List<String> |
getMIMETypes() |
|
org.openrdf.rio.RDFFormat |
getRioFormat() |
|
boolean |
handlesMimeType(String mimeType) |
|
boolean |
isPrefixOWLOntologyFormat() |
Determines if this format is an instance of a format that uses prefixes
to shorted IRIs.
|
addError, getOntologyLoaderMetaDatagetOntologyLoaderMetaData, getParameter, isAddMissingTypes, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameterpublic RioRDFNonPrefixDocumentFormat(org.openrdf.rio.RDFFormat format)
RDFFormat they support.format - The RDFFormat that this instance supports.public boolean isPrefixOWLOntologyFormat()
isPrefixOWLOntologyFormat in interface org.semanticweb.owlapi.model.OWLDocumentFormatisPrefixOWLOntologyFormat in class org.semanticweb.owlapi.formats.AbstractRDFNonPrefixDocumentFormattrue if this format is an instance of
PrefixDocumentFormat other
wise false.@Nonnull public org.semanticweb.owlapi.formats.PrefixDocumentFormat asPrefixOWLOntologyFormat()
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat.asPrefixOWLOntologyFormat in interface org.semanticweb.owlapi.model.OWLDocumentFormatasPrefixOWLOntologyFormat in class org.semanticweb.owlapi.formats.AbstractRDFNonPrefixDocumentFormatPrefixDocumentFormat.ClassCastException - if this format is not an instance of
PrefixDocumentFormatpublic String getKey()
getKey in interface org.semanticweb.owlapi.model.OWLDocumentFormatpublic org.openrdf.rio.RDFFormat getRioFormat()
getRioFormat in interface RioRDFDocumentFormatpublic String getDefaultMIMEType()
getDefaultMIMEType in interface org.semanticweb.owlapi.model.MIMETypeAwarepublic List<String> getMIMETypes()
getMIMETypes in interface org.semanticweb.owlapi.model.MIMETypeAwarepublic boolean handlesMimeType(String mimeType)
handlesMimeType in interface org.semanticweb.owlapi.model.MIMETypeAwareCopyright © 2018 The University of Manchester. All rights reserved.