fr.inrialpes.exmo.ontowrap
Class OntologyFactory
java.lang.Object
fr.inrialpes.exmo.ontowrap.OntologyFactory
- Direct Known Subclasses:
- JENAOntologyFactory, OWLAPI3OntologyFactory, OWLAPIOntologyFactory, SKOSLiteOntologyFactory, SKOSOntologyFactory
public abstract class OntologyFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY
public static final int ANY
- See Also:
- Constant Field Values
DIRECT
public static final int DIRECT
- See Also:
- Constant Field Values
INDIRECT
public static final int INDIRECT
- See Also:
- Constant Field Values
ASSERTED
public static final int ASSERTED
- See Also:
- Constant Field Values
UNASSERTED
public static final int UNASSERTED
- See Also:
- Constant Field Values
INHERITED
public static final int INHERITED
- See Also:
- Constant Field Values
FULL
public static final int FULL
- See Also:
- Constant Field Values
NAMED
public static final int NAMED
- See Also:
- Constant Field Values
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
UNNAMED
public static final int UNNAMED
- See Also:
- Constant Field Values
MENTIONNED
public static final int MENTIONNED
- See Also:
- Constant Field Values
ALL
public static final int ALL
- See Also:
- Constant Field Values
instances
protected static Hashtable<String,OntologyFactory> instances
API_NAME
private static String API_NAME
OntologyFactory
public OntologyFactory()
getDefaultFactory
public static String getDefaultFactory()
setDefaultFactory
public static void setDefaultFactory(String className)
getFactory
public static OntologyFactory getFactory()
newInstance
private static OntologyFactory newInstance(String apiName)
clear
public static void clear()
throws OntowrapException
- Throws:
OntowrapException
clearCache
public abstract void clearCache()
throws OntowrapException
- All Ontologies must implement clearCache()
which unload their ontologies if any cache is enabled.
- Throws:
OntowrapException
newOntology
public abstract LoadedOntology newOntology(Object onto)
throws OntowrapException
- Encapsulate an ontology already in the environment
These methods should rather be in a LoadableOntologyFactory
- Throws:
OntowrapException
loadOntology
public abstract LoadedOntology loadOntology(URI uri)
throws OntowrapException
- Load an ontology, cache enabled
These methods should rather be in a LoadableOntologyFactory
- Throws:
OntowrapException
(C) INRIA & friends, 2003-${curryear}