fr.inrialpes.exmo.ontowrap.owlapi30
Class OWLAPI3OntologyFactory
java.lang.Object
fr.inrialpes.exmo.ontowrap.OntologyFactory
fr.inrialpes.exmo.ontowrap.owlapi30.OWLAPI3OntologyFactory
public class OWLAPI3OntologyFactory
- extends OntologyFactory
Fields inherited from class fr.inrialpes.exmo.ontowrap.OntologyFactory |
ALL, ANY, ASSERTED, DIRECT, FULL, GLOBAL, INDIRECT, INHERITED, instances, LOCAL, MENTIONNED, NAMED, UNASSERTED, UNNAMED |
Method Summary |
void |
clearCache()
All Ontologies must implement clearCache()
which unload their ontologies if any cache is enabled. |
org.semanticweb.owlapi.model.OWLOntologyManager |
getManager()
|
HeavyLoadedOntology |
loadOntology(URI uri)
Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory |
OWLAPI3Ontology |
newOntology(Object ontology)
Encapsulate an ontology already in the environment
These methods should rather be in a LoadableOntologyFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formalismUri
private URI formalismUri
formalismId
private String formalismId
manager
private org.semanticweb.owlapi.model.OWLOntologyManager manager
cache
private static OntologyCache<OWLAPI3Ontology> cache
OWLAPI3OntologyFactory
public OWLAPI3OntologyFactory()
newOntology
public OWLAPI3Ontology newOntology(Object ontology)
throws OntowrapException
- Description copied from class:
OntologyFactory
- Encapsulate an ontology already in the environment
These methods should rather be in a LoadableOntologyFactory
- Specified by:
newOntology
in class OntologyFactory
- Throws:
OntowrapException
loadOntology
public HeavyLoadedOntology loadOntology(URI uri)
throws OntowrapException
- Description copied from class:
OntologyFactory
- Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory
- Specified by:
loadOntology
in class OntologyFactory
- Throws:
OntowrapException
getManager
public org.semanticweb.owlapi.model.OWLOntologyManager getManager()
clearCache
public void clearCache()
throws OntowrapException
- Description copied from class:
OntologyFactory
- All Ontologies must implement clearCache()
which unload their ontologies if any cache is enabled.
- Specified by:
clearCache
in class OntologyFactory
- Throws:
OntowrapException
(C) INRIA & friends, 2003-${curryear}