|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceClassifier
This will act as a superclass of instance classifier. There will be more specific sublclasses of this interface. $Revision: 1.4 $
Method Summary | |
---|---|
boolean |
classify(java.lang.Object className,
java.lang.Object instance,
java.lang.Object classDesc,
java.lang.Object instDesc)
Check if the instance is in the given class range |
void |
init()
Initializes the specific instance classifier for instance loading necessary ontologies, etc. |
void |
setOntologyInterfaces(OntologyInterfaces ontInterfaces)
Set OntologyInterfaces. |
Method Detail |
---|
boolean classify(java.lang.Object className, java.lang.Object instance, java.lang.Object classDesc, java.lang.Object instDesc) throws InstanceClassifierInitializationException, InstanceClassifierClassCastException, UnknownConceptException
className
- ontology name of the class defining the rangeinstance
- the instance to be checkedclassDesc
- the class descriptioninstDesc
- the instance description
throws
- InstanceClassifierInitializationException if the initialization of the classifier was not
successful, details will be provided in the return string
InstanceClassifierInitializationException
InstanceClassifierClassCastException
UnknownConceptException
void init() throws InstanceClassifierInitializationException
InstanceClassifierInitializationException
- if the initialization of the instance
classifier was not successful, details will be provided in the return stringvoid setOntologyInterfaces(OntologyInterfaces ontInterfaces)
ontInterfaces
- OntologyInterfaces to be used, if needed for instance classification.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |