Class OntologyFactory
java.lang.Object
de.uni_trier.wi2.procake.utils.ontology.OntologyFactory
- All Implemented Interfaces:
Factory
This Factory class provides the ontology for the representation and similarity calculation of
URIObjects.
- Author:
- dahlem
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bind
(OntologyFactoryObject implementation) Binds the given implementation.boolean
Bind an implementation to the factory.static boolean
containsOntology
(String name) static Ontology
getOntology
(String name) static Ontology
getOntologyFor
(DataObject dataObject) static Ontology
newOntology
(String name, String path) static Ontology
newOntology
(String name, String path, String pathBackup) void
postInit()
Post initialization.void
reset()
This method has to be implemented by every factory in order to allow a proper restart of ProCAKE.static boolean
unbind
(OntologyFactoryObject implementation) boolean
Unbinds an implementation from the factory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uni_trier.wi2.procake.utils.composition.Factory
addParameter
-
Method Details
-
bind
Binds the given implementation. -
getOntology
-
containsOntology
-
getOntologyFor
-
newOntology
-
newOntology
-
unbind
-
reset
public void reset()Description copied from interface:Factory
This method has to be implemented by every factory in order to allow a proper restart of ProCAKE. For example, this method might reset the default factory object or other stateful variables. -
bind
Description copied from interface:Factory
Bind an implementation to the factory. -
unbind
Description copied from interface:Factory
Unbinds an implementation from the factory. -
postInit
public void postInit()Description copied from interface:Factory
Post initialization.
-