public static interface OWLOntologyFactory.OWLOntologyCreationHandler
OWLOntologyCreationHandler
gets notified when the factory has
created an empty ontology (during the loading process). This may be
needed to handle features such as cyclic imports. For example if OntA and
OntB are ontologies and OntA imports OntB and vice versa, OntA will
probably be partially loaded, but then will require the loading of OntB
to ensure that all entities are declared. OntB will also require the
partial loading of OntA for the same reason. The handler allows a
reference to an ontology which is being loaded to be obtained before
loading is finished.Modifier and Type | Method and Description |
---|---|
void |
ontologyCreated(OWLOntology ontology)
The factory calls this method as soon as it has created an ontology.
|
void |
setOntologyFormat(OWLOntology ontology,
OWLDocumentFormat format) |
void ontologyCreated(@Nonnull OWLOntology ontology)
ontology
- The newly created ontology.void setOntologyFormat(@Nonnull OWLOntology ontology, @Nonnull OWLDocumentFormat format)
ontology
- the ontologyformat
- the formatCopyright © 2020 The University of Manchester. All rights reserved.