public static class OWLOntologyLoaderListener.LoadingFinishedEvent extends OWLOntologyLoaderListener.LoadingEvent
Constructor and Description |
---|
OWLOntologyLoaderListener.LoadingFinishedEvent(OWLOntologyID ontologyID,
IRI documentIRI,
boolean imported,
OWLOntologyCreationException ex) |
Modifier and Type | Method and Description |
---|---|
OWLOntologyCreationException |
getException()
If the ontology was not loaded successfully then this method can
be used to access the exception that describes why the ontology was
not loaded successfully.
|
boolean |
isSuccessful()
Determines if the ontology was successfully loaded.
|
getDocumentIRI, getOntologyID, isImported
public OWLOntologyLoaderListener.LoadingFinishedEvent(OWLOntologyID ontologyID, IRI documentIRI, boolean imported, OWLOntologyCreationException ex)
public boolean isSuccessful()
true
if the ontology was successfully loaded,
false
if the ontology was not successfully loaded. Note
that an ontology being successfully loaded does not imply that any ontologies
that the ontology imports were successfully loaded.public OWLOntologyCreationException getException()
null
if the ontology was loaded successfully.