org.semanticweb.owlapi.model
Class OWLOntologyLoaderListener.LoadingEvent

java.lang.Object
  extended by org.semanticweb.owlapi.model.OWLOntologyLoaderListener.LoadingEvent
Direct Known Subclasses:
OWLOntologyLoaderListener.LoadingFinishedEvent, OWLOntologyLoaderListener.LoadingStartedEvent
Enclosing interface:
OWLOntologyLoaderListener

public static class OWLOntologyLoaderListener.LoadingEvent
extends java.lang.Object


Constructor Summary
OWLOntologyLoaderListener.LoadingEvent(OWLOntologyID ontologyID, IRI documentIRI, boolean imported)
           
 
Method Summary
 IRI getDocumentIRI()
          Gets the document IRI for the ontology being loaded
 OWLOntologyID getOntologyID()
          Gets the ID of the ontology being loaded.
 boolean isImported()
          Determines if the ontology was loaded because of an imports statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLOntologyLoaderListener.LoadingEvent

public OWLOntologyLoaderListener.LoadingEvent(OWLOntologyID ontologyID,
                                              IRI documentIRI,
                                              boolean imported)
Method Detail

getOntologyID

public OWLOntologyID getOntologyID()
Gets the ID of the ontology being loaded.

Returns:
The ontology ID.

getDocumentIRI

public IRI getDocumentIRI()
Gets the document IRI for the ontology being loaded

Returns:
The document IRI that describes where the ontology was loaded from.

isImported

public boolean isImported()
Determines if the ontology was loaded because of an imports statement.

Returns:
true if the ontology was loaded because it was imported by another ontology, or false if the ontology was loaded by a direct load request on OWLOntologyManager.