|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLOntologyFactory
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006
Nested Class Summary | |
---|---|
static interface |
OWLOntologyFactory.OWLOntologyCreationHandler
An OWLOntologyCreationHandler gets notified when the factory has created an empty
ontology (during the loading process). |
Method Summary | |
---|---|
boolean |
canCreateFromPhysicalURI(java.net.URI physicalURI)
Determines if the factory can create an ontology for the specified physical URI. |
boolean |
canLoad(OWLOntologyInputSource inputSource)
Determines if the factory can load an ontology for the specified physical URI. |
OWLOntology |
createOWLOntology(OWLOntologyID ontologyID,
java.net.URI physicalURI,
OWLOntologyFactory.OWLOntologyCreationHandler handler)
Creates an (empty) ontology. |
OWLOntology |
loadOWLOntology(OWLOntologyInputSource inputSource,
OWLOntologyFactory.OWLOntologyCreationHandler handler)
Creates and loads an OWLOntology . |
void |
setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
|
Method Detail |
---|
void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
OWLOntology createOWLOntology(OWLOntologyID ontologyID, java.net.URI physicalURI, OWLOntologyFactory.OWLOntologyCreationHandler handler) throws OWLOntologyCreationException
ontologyID
- The ID of the ontology to create. This MUST NOT BE null
.physicalURI
- The physical URI of the ontology. This MAY be
null
.handler
- The ontology creation handler that will be notified when the
ontology has been created.
OWLOntologyCreationException
- if the ontology could not be created.OWLOntology loadOWLOntology(OWLOntologyInputSource inputSource, OWLOntologyFactory.OWLOntologyCreationHandler handler) throws OWLOntologyCreationException
OWLOntology
.
be loaded into the ontology.
inputSource
- The input sourcehandler
- A pointer to an OWLOntologyCreationHandler
which will be notified immediately
after an emtpty ontology has been created, but before the source data is read and the ontology is loaded
with axioms.
OWLOntologyCreationException
- if the ontology could not be created.boolean canCreateFromPhysicalURI(java.net.URI physicalURI)
physicalURI
- The physical URI of the ontology to be created. This may
be null
.
true
if the factory can create an ontology given a physical URI,
or false
if the factory cannot create an ontology.boolean canLoad(OWLOntologyInputSource inputSource)
inputSource
- The input source from which to load the ontology
true
if the factory can load from the specified input source.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |