public abstract class AbstractRDFNonPrefixDocumentFormat extends OWLDocumentFormatImpl implements RDFDocumentFormat
| Constructor and Description |
|---|
AbstractRDFNonPrefixDocumentFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(RDFResourceParseError error) |
PrefixDocumentFormat |
asPrefixOWLOntologyFormat()
If this format is an instance of
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat. |
RDFParserMetaData |
getOntologyLoaderMetaData()
If this format describes an ontology that was loaded from some ontology
document (rather than created programmatically) there may be some meta
data about the loading process.
|
boolean |
isPrefixOWLOntologyFormat()
Determines if this format is an instance of a format that uses prefixes
to shorted IRIs.
|
determineIllegalPunnings, equals, getParameter, hashCode, isAddMissingTypes, isMissingType, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameter, toStringgetKey, getParameter, isAddMissingTypes, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameterpublic RDFParserMetaData getOntologyLoaderMetaData()
OWLDocumentFormatOWLOntologyFormat
will provide accessors etc. to details pertaining to the meta data about
loading.getOntologyLoaderMetaData in interface OWLDocumentFormatgetOntologyLoaderMetaData in class OWLDocumentFormatImplpublic void addError(RDFResourceParseError error)
addError in interface RDFDocumentFormaterror - error to add to the error setpublic boolean isPrefixOWLOntologyFormat()
isPrefixOWLOntologyFormat in interface OWLDocumentFormattrue if this format is an instance of
PrefixDocumentFormat other
wise false.@Nonnull public PrefixDocumentFormat asPrefixOWLOntologyFormat()
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat.asPrefixOWLOntologyFormat in interface OWLDocumentFormatPrefixDocumentFormat.ClassCastException - if this format is not an instance of
PrefixDocumentFormatCopyright © 2016 The University of Manchester. All Rights Reserved.