jade.content.onto
Interface Introspectable

All Known Implementing Classes:
Action, InstanceOf

public interface Introspectable

Author:
Giovanni Caire - TILAB

Method Summary
 void externalise(AbsObject abs, Ontology onto)
          Externalise this object into the given abstract descriptor
 void internalise(AbsObject abs, Ontology onto)
          Internalise this object from a given abstract descriptor
 

Method Detail

externalise

public void externalise(AbsObject abs,
                        Ontology onto)
                 throws OntologyException
Externalise this object into the given abstract descriptor
Parameters:
abs - The abstract descriptor this object must externalise itself into.
onto - The reference ontology
Throws:
OntologyException - If some error occurs during the externalisation

internalise

public void internalise(AbsObject abs,
                        Ontology onto)
                 throws UngroundedException,
                        OntologyException
Internalise this object from a given abstract descriptor
Parameters:
abs - The abstract descriptor this object must internalise itself from
onto - The reference ontology
Throws:
UngroundedException - If the abstract descriptor contains a variable
OntologyException - If some error occurs during the internalisation