fr.inrialpes.exmo.ontowrap.jena25
Class JENAOntologyFactory
java.lang.Object
fr.inrialpes.exmo.ontowrap.OntologyFactory
fr.inrialpes.exmo.ontowrap.jena25.JENAOntologyFactory
public class JENAOntologyFactory
- 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. |
JENAOntology |
loadOntology(URI uri)
Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory |
JENAOntology |
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 static URI formalismUri
formalismId
private static String formalismId
cache
private static OntologyCache<JENAOntology> cache
JENAOntologyFactory
public JENAOntologyFactory()
newOntology
public JENAOntology 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 JENAOntology 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
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}