|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.xmlschema.classifier.XMLSchemaClassifier
public class XMLSchemaClassifier
$Revision: 1.7 $
| Constructor Summary | |
|---|---|
XMLSchemaClassifier()
|
|
XMLSchemaClassifier(OntologyInterfaces proxy)
|
|
| 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 This is a more generic method that typecasts the input arguments and then calls the specific method. |
boolean |
classify(java.lang.String className,
java.lang.String instance,
ClassDescription classDesc,
KAoSInstance 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLSchemaClassifier(OntologyInterfaces proxy)
public XMLSchemaClassifier()
| Method Detail |
|---|
public boolean classify(java.lang.String className,
java.lang.String instance,
ClassDescription classDesc,
KAoSInstance instDesc)
throws InstanceClassifierInitializationException,
UnknownConceptException
classify in interface KAoSInstanceClassifierclassName - ontology name of the class defining the rangeinstance - the instance to be checkedclassDesc - not used (should be passed null)instDesc - not used (should be passed null)
throws - InstanceClassifierInitializationException if the initialization of the classifier was not
successful, details will be provided in the return string
InstanceClassifierInitializationException
UnknownConceptExceptionpublic void setOntologyInterfaces(OntologyInterfaces ontInterfaces)
setOntologyInterfaces in interface InstanceClassifierontInterfaces - OntologyInterfaces to be used, if needed for instance classification.
public boolean classify(java.lang.Object className,
java.lang.Object instance,
java.lang.Object classDesc,
java.lang.Object instDesc)
throws InstanceClassifierInitializationException,
InstanceClassifierClassCastException,
UnknownConceptException
classify in interface InstanceClassifierclassName - ontology name of the class defining the rangeinstance - the instance to be checkedclassDesc - not used (should be passed null)instDesc - not used (should be passed null)
throws - InstanceClassifierInitializationException if the initialization of the classifier was not
successful, details will be provided in the return string
InstanceClassifierInitializationException
InstanceClassifierClassCastException
UnknownConceptException
public void init()
throws InstanceClassifierInitializationException
init in interface InstanceClassifierInstanceClassifierInitializationException - if the initialization of the instance
classifier was not successful, details will be provided in the return string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||