de.dfleischhacker.uni.thesis.semantic.naturalsemantic
Class NaturalSemanticFactory

java.lang.Object
  extended by de.dfleischhacker.uni.thesis.semantic.naturalsemantic.NaturalSemanticFactory
All Implemented Interfaces:
SemanticFactory

public class NaturalSemanticFactory
extends java.lang.Object
implements SemanticFactory

The factory implementation for the NaturalSemantic class. Solely used from the SemanticManager to create instances of NaturalSemantic.


Constructor Summary
NaturalSemanticFactory()
          Initializes the NaturalSemanticFactory object
 
Method Summary
 SemanticModule getInstance(Ontology onto1, Ontology onto2)
          Creates an instance of the NaturalSemantic class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaturalSemanticFactory

public NaturalSemanticFactory()
Initializes the NaturalSemanticFactory object

Method Detail

getInstance

public SemanticModule getInstance(Ontology onto1,
                                  Ontology onto2)
                           throws MergingException
Creates an instance of the NaturalSemantic class

Specified by:
getInstance in interface SemanticFactory
Parameters:
onto1 - first ontology
onto2 - second ontology
Returns:
the new NaturalSemantic instance
Throws:
MergingException