public static interface OWLOntologyFactory.OWLOntologyCreationHandler
OWLOntologyCreationHandlergets 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.
void ontologyCreated(OWLOntology ontology)
ontology- The newly created ontology.
Copyright © 2018 The University of Manchester. All rights reserved.