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

fr.inrialpes.exmo.ontowrap.skosapi
Class SKOSOntologyFactory

java.lang.Object
  extended by fr.inrialpes.exmo.ontowrap.OntologyFactory
      extended by fr.inrialpes.exmo.ontowrap.skosapi.SKOSOntologyFactory

public class SKOSOntologyFactory
extends OntologyFactory


Field Summary
private static OntologyCache<SKOSThesaurus> cache
           
private  org.semanticweb.skos.SKOSDataFactory factory
           
private static String formalismId
           
private static URI formalismUri
           
private  org.semanticweb.skosapibinding.SKOSManager manager
           
 
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
SKOSOntologyFactory()
           
 
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 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 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
Constructor Detail

SKOSOntologyFactory

public SKOSOntologyFactory()
                    throws OntowrapException
Throws:
OntowrapException
Method Detail

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

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

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