Alignment API and Server 4.1.${version.update}

fr.inrialpes.exmo.ontowrap.skoslite
Class SKOSLiteOntologyFactory

java.lang.Object
  extended by fr.inrialpes.exmo.ontowrap.OntologyFactory
      extended by fr.inrialpes.exmo.ontowrap.skoslite.SKOSLiteOntologyFactory

public class SKOSLiteOntologyFactory
extends OntologyFactory


Field Summary
private static OntologyCache<SKOSLiteThesaurus> cache
           
private static String formalismId
           
private  URI formalismUri
           
 
Fields inherited from class fr.inrialpes.exmo.ontowrap.OntologyFactory
ALL, ANY, ASSERTED, DIRECT, FULL, GLOBAL, INDIRECT, INHERITED, instances, LOCAL, MENTIONNED, NAMED, UNASSERTED, UNNAMED
 
Constructor Summary
SKOSLiteOntologyFactory()
           
 
Method Summary
 void clearCache()
          All Ontologies must implement clearCache() which unload their ontologies if any cache is enabled.
 SKOSLiteThesaurus loadOntology(URI uri)
          Load an ontology, cache enabled These methods should rather be in a LoadableOntologyFactory
 SKOSLiteThesaurus newOntology(Object m)
          Encapsulate an ontology already in the environment These methods should rather be in a LoadableOntologyFactory
 
Methods inherited from class fr.inrialpes.exmo.ontowrap.OntologyFactory
clear, getDefaultFactory, getFactory, setDefaultFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formalismUri

private URI formalismUri

formalismId

private static final String formalismId
See Also:
Constant Field Values

cache

private static final OntologyCache<SKOSLiteThesaurus> cache
Constructor Detail

SKOSLiteOntologyFactory

public SKOSLiteOntologyFactory()
Method Detail

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

loadOntology

public SKOSLiteThesaurus 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

newOntology

public SKOSLiteThesaurus newOntology(Object m)
                              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

Alignment API and Server 4.1.${version.update}

(C) INRIA & friends, 2003-${curryear}