com.interfaceware.chameleon
Class DynamicEngine

java.lang.Object
  extended by com.interfaceware.chameleon.Engine
      extended by com.interfaceware.chameleon.DynamicEngine

public class DynamicEngine
extends Engine

This class implements a dynamic version of the Engine that allows the message tables to be explored dynamically rather than relying on stubcode. This is required because Engine is a pure abstract class. In order to be able to instantiate an Engine-derived object without stubcode, this class is provided.

See Also:
http://www.interfaceware.com/manual/java_dynamic_interface.html

Constructor Summary
DynamicEngine()
          Constructor.
 
Method Summary
 int parseMessageDynamically(java.lang.String Flatwire, Table MessageTable)
          Parse message dynamically.
 
Methods inherited from class com.interfaceware.chameleon.Engine
ackMessageIndex, addLog, buildNumber, config, configName, countOfConfig, countOfMessage, countOfMessageIdentifier, createEmptyMessageTable, currentConfigIndex, errorEvent, finalize, generate, generateAckFromMessage, generateSchema, ignoreMessageIndex, inConfigIndex, load, log, majorVersion, makeMessagePrintable, messageIdentity, messageName, minorVersion, outConfigIndex, parse, parseMessage, println, release, setCurrentConfigIndex, setPythonKeyValuePair, setRejectBadSegmentGrammar, transformMessage, translateMessageToXml, translateXmlToMessage
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicEngine

public DynamicEngine()
              throws ChameleonException
Constructor.

Throws:
ChameleonException
Method Detail

parseMessageDynamically

public int parseMessageDynamically(java.lang.String Flatwire,
                                   Table MessageTable)
                            throws ChameleonException
Parse message dynamically. This allows the user to parse a message without invoking virtual methods in stubcode. This is useful for auto-acknowledgment. Note that you must load the visual message definition (VMD) file before the DynamicEngine can be used, and you need to create a new Table object before calling this method.

Throws:
ChameleonException
See Also:
http://www.interfaceware.com/manual/java_dynamic_interface.html