public class SKOSLiteOntologyFactory extends OntologyFactory
Modifier and Type | Field and Description |
---|---|
private static OntologyCache<SKOSLiteThesaurus> |
cache |
private static java.lang.String |
formalismId |
private java.net.URI |
formalismUri |
(package private) static org.slf4j.Logger |
logger |
ALL, ANY, ASSERTED, DIRECT, FULL, GLOBAL, INDIRECT, INHERITED, instances, LOCAL, MENTIONNED, NAMED, UNASSERTED, UNNAMED
Constructor and Description |
---|
SKOSLiteOntologyFactory() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
All Ontologies must implement clearCache()
which unload their ontologies if any cache is enabled.
|
SKOSLiteThesaurus |
loadOntology(java.net.URI uri,
boolean onlyLocalEntities)
Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory
|
SKOSLiteThesaurus |
newOntology(java.lang.Object m,
boolean onlyLocalEntities)
Encapsulate an ontology already in the environment
These methods should rather be in a LoadableOntologyFactory
|
clear, getDefaultFactory, getFactories, getFactory, loadOntology, loadOntology, newInstance, newOntology, setDefaultFactory
static final org.slf4j.Logger logger
private java.net.URI formalismUri
private static final java.lang.String formalismId
private static final OntologyCache<SKOSLiteThesaurus> cache
public void clearCache() throws OntowrapException
OntologyFactory
clearCache
in class OntologyFactory
OntowrapException
- when something goes wrongpublic SKOSLiteThesaurus loadOntology(java.net.URI uri, boolean onlyLocalEntities) throws OntowrapException
OntologyFactory
loadOntology
in class OntologyFactory
OntowrapException
- when something goes wrongpublic SKOSLiteThesaurus newOntology(java.lang.Object m, boolean onlyLocalEntities) throws OntowrapException
OntologyFactory
newOntology
in class OntologyFactory
OntowrapException
- when something goes wrong(C) INRIA & friends, 2003-2020