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, toString
getKey, getParameter, isAddMissingTypes, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameter, supportsRelativeIRIs
public RDFParserMetaData getOntologyLoaderMetaData()
OWLDocumentFormat
OWLOntologyFormat
will provide accessors etc. to details pertaining to the meta
data about loading.getOntologyLoaderMetaData
in interface OWLDocumentFormat
getOntologyLoaderMetaData
in class OWLDocumentFormatImpl
public void addError(RDFResourceParseError error)
addError
in interface RDFDocumentFormat
error
- error to add to the error setpublic boolean isPrefixOWLOntologyFormat()
isPrefixOWLOntologyFormat
in interface OWLDocumentFormat
true
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 OWLDocumentFormat
PrefixDocumentFormat
.ClassCastException
- if this format is not an instance of
PrefixDocumentFormat
Copyright © 2020 The University of Manchester. All rights reserved.