public abstract class RDFOntologyFormat extends PrefixOWLOntologyFormat
USE_INTERMEDIATE_OUTPUT_FILE| Constructor and Description |
|---|
RDFOntologyFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(RDFResourceParseError error) |
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 |
isAddMissingTypes()
Determines if untyped entities should automatically be typed (declared)
during rendering.
|
static boolean |
isMissingType(OWLEntity entity,
OWLOntology ontology)
Determines if a declaration axiom (type triple) needs to be added to the
specified ontology for the given entity.
|
void |
setAddMissingTypes(boolean addMissingTypes)
Determines if untyped entities should automatically be typed during
rendering.
|
clearPrefixes, containsPrefixMapping, copyPrefixesFrom, copyPrefixesFrom, getDefaultPrefix, getIRI, getPrefix, getPrefixIRI, getPrefixName2PrefixMap, getPrefixNames, setDefaultPrefix, setPrefix, setPrefixManagerasPrefixOWLOntologyFormat, equals, getParameter, hashCode, isPrefixOWLOntologyFormat, setOntologyLoaderMetaData, setParameterpublic boolean isAddMissingTypes()
isMissingType(org.semanticweb.owlapi.model.OWLEntity, org.semanticweb.owlapi.model.OWLOntology)
method to determine if it needs to add a type.true if untyped entities should automatically be typed
during rendering, otherwise false.public static boolean isMissingType(OWLEntity entity, OWLOntology ontology)
entity - The entityontology - The ontology.false if the entity is built in. false if the
ontology doesn't contain the entity in its signature.
false if the entity is already declared in the imports
closure of the ontology. false if the transitive imports
does not contain the ontology but the entity is contained in the
signature of one of the imported ontologies, true if none
of the previous conditions are met.public void setAddMissingTypes(boolean addMissingTypes)
addMissingTypes - true if untyped entities should automatically be typed
during rendering, otherwise false.public RDFParserMetaData getOntologyLoaderMetaData()
OWLOntologyFormatOWLOntologyFormat
will provide accessors etc. to details pertaining to the meta data about
loading.getOntologyLoaderMetaData in class OWLOntologyFormatnull.public void addError(RDFResourceParseError error)
error - error to add to the error setCopyright © 2014 The University of Manchester. All Rights Reserved.