kaos.ontology.matching
Interface KAoSInstanceClassifier

All Superinterfaces:
InstanceClassifier
All Known Implementing Classes:
XMLSchemaClassifier

public interface KAoSInstanceClassifier
extends InstanceClassifier

This is a more specific extension of instance classifier. This will classify instances that are strings and instance descriptions that are kaos instances. $Revision: 1.2 $


Method Summary
 boolean classify(java.lang.String className, java.lang.String instance, ClassDescription classDesc, KAoSInstance instDesc)
          Check if the instance is in the given class range
 
Methods inherited from interface kaos.ontology.matching.InstanceClassifier
classify, init, setOntologyInterfaces
 

Method Detail

classify

boolean classify(java.lang.String className,
                 java.lang.String instance,
                 ClassDescription classDesc,
                 KAoSInstance instDesc)
                 throws InstanceClassifierInitializationException,
                        UnknownConceptException
Check if the instance is in the given class range

Parameters:
className - ontology name of the class defining the range
instance - the instance to be checked
classDesc - the class description
instDesc - the instance description
Returns:
True if the instance is of the specified class, false if not.
Throws:
throws - InstanceClassifierInitializationException if the initialization of the classifier was not successful, details will be provided in the return string
InstanceClassifierInitializationException
UnknownConceptException