kaos.ontology.matching
Interface InstanceClassifierFactory

All Known Implementing Classes:
InstanceClassifierFactoryImpl, XMLSchemaClassifierFactory

public interface InstanceClassifierFactory

This interface defines a factory method for obtaining InstanceClassifier for the given property. $Revision: 1.2 $


Method Summary
 InstanceClassifier getInstance(java.lang.String propertyName)
          Instantiate an InstanceClassifier for the specified property.
 void setInstance(java.lang.String propertyName, InstanceClassifier classifier)
          Puts an InstanceClassifier for the specified property.
 

Method Detail

getInstance

InstanceClassifier getInstance(java.lang.String propertyName)
                               throws InstanceClassifierInitializationException
Instantiate an InstanceClassifier for the specified property.

Parameters:
propertyName - The String specifying the property, for which a classifier is requested.
Returns:
InstanceClassifier an instance of the requested instance classifier, or null, if the factory did not have enough data to instantiate one.
Throws:
InstanceClassifierInitializationException - is thrown if the instantiation of the classifier was not successful, details will be provided in the exception's message.

setInstance

void setInstance(java.lang.String propertyName,
                 InstanceClassifier classifier)
Puts an InstanceClassifier for the specified property.

Parameters:
propertyName - The String specifying the property, for which a classifier is requested.
InstanceClassifier - an instance of the requested instance classifier, or null, if the factory did not have enough data to instantiate one.