ParsingFramework
Interface IMetaOperations

All Known Implementing Classes:
Actuator, JavaObjectListener, Listener, MessageActuator, MessageListener, TextMessageListener, XMLMessageActuator, XMLMessageListener

public interface IMetaOperations

The meta object protocol

Author:
Paul Grace

Method Summary
 void addFunction(java.lang.String functionName, java.lang.Class HostClass, java.lang.Object HostObject)
           
 void addParseOperation(java.lang.String dataType, java.lang.Class HostClass, java.lang.Object HostObject)
          Add a new parsing operation to those provided by the object implementing this interface.
 java.lang.String[] inspectFunctions()
           
 java.lang.String[] inspectParseOperations()
           
 void removeFunction(java.lang.String functionName)
           
 void removeParseOperation(java.lang.String dataType)
          Remove a deployed parsing operation.
 

Method Detail

addParseOperation

void addParseOperation(java.lang.String dataType,
                       java.lang.Class HostClass,
                       java.lang.Object HostObject)
Add a new parsing operation to those provided by the object implementing this interface. That is, dynamically extend the number of types that the getTypedValue can understand.

Parameters:
dataType - The type of object that the operation reads/parses
HostClass - The class of the object where the operation is hosted
HostObject - The object where the operation is hosted

removeParseOperation

void removeParseOperation(java.lang.String dataType)
Remove a deployed parsing operation.

Parameters:
dataType - The type of object that the operation reads/parses

addFunction

void addFunction(java.lang.String functionName,
                 java.lang.Class HostClass,
                 java.lang.Object HostObject)

removeFunction

void removeFunction(java.lang.String functionName)

inspectParseOperations

java.lang.String[] inspectParseOperations()

inspectFunctions

java.lang.String[] inspectFunctions()