fr.inrialpes.exmo.ontowrap.skosapi
Class SKOSOntologyFactory
java.lang.Object
fr.inrialpes.exmo.ontowrap.OntologyFactory
fr.inrialpes.exmo.ontowrap.skosapi.SKOSOntologyFactory
public class SKOSOntologyFactory
- 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. |
SKOSThesaurus |
loadOntology(URI uri)
Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory |
SKOSThesaurus |
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<SKOSThesaurus> cache
manager
private org.semanticweb.skosapibinding.SKOSManager manager
factory
private org.semanticweb.skos.SKOSDataFactory factory
SKOSOntologyFactory
public SKOSOntologyFactory()
throws OntowrapException
- Throws:
OntowrapException
newOntology
public SKOSThesaurus 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 SKOSThesaurus 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}