|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.core.csi.extension.KAoSExtensionComponentImpl
kaos.xmlschema.classifier.XMLSchemaClassifier
public class XMLSchemaClassifier
Implementation of the XMLSchema value classifier $Revision: 1.18 $
| Field Summary |
|---|
| Fields inherited from class kaos.core.csi.extension.KAoSExtensionComponentImpl |
|---|
_associatedOntTypes, _componentName |
| Method Summary | |
|---|---|
boolean |
classify(java.lang.String className,
java.lang.Object classDesc,
java.lang.String instance,
java.lang.Object instDesc)
Check if the instance is in the given class range |
static XMLSchemaClassifier |
getInstance()
|
void |
setOntologyInterfaces(OntologyService ontInterfaces)
Set OntologyService. |
| Methods inherited from class kaos.core.csi.extension.KAoSExtensionComponentImpl |
|---|
addOntologicalAttribute, getEnabledStatus, getName, getOntologicalAttributes, setEnabledStatus, setName, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface kaos.core.csi.extension.KAoSExtensionComponent |
|---|
addOntologicalAttribute, getEnabledStatus, getName, getOntologicalAttributes, setEnabledStatus, setName, setProperties |
| Method Detail |
|---|
public static XMLSchemaClassifier getInstance()
public boolean classify(java.lang.String className,
java.lang.Object classDesc,
java.lang.String instance,
java.lang.Object instDesc)
throws ClassifierException
classify in interface InstanceClassifierclassName - ontology name of the class defining the rangeinstance - the instance to be checkedinstDesc - not used (should be passed null)checkedPolicyType - the type of the checked policy
throws - UnknownConceptException if it is not possible to obtain information about the schema
ClassifierExceptionpublic void setOntologyInterfaces(OntologyService ontInterfaces)
setOntologyInterfaces in interface InstanceClassifierontInterfaces - OntologyService to be used, if needed for instance classification.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||