org.alicebot.server.core.processor
Class JavaScriptProcessor

java.lang.Object
  extended by org.alicebot.server.core.processor.Processor
      extended by org.alicebot.server.core.processor.AIMLProcessor
          extended by org.alicebot.server.core.processor.JavaScriptProcessor

public class JavaScriptProcessor
extends AIMLProcessor

Handles a javascript element.

Version:
4.1.3
Author:
Jon Baer, Thomas Ringate, Pedro Colla

Field Summary
static java.lang.String label
           
 
Fields inherited from class org.alicebot.server.core.processor.Processor
EMPTY_STRING, ENABLED, ID, NAME, NAME_EQUALS, VALUE, VALUE_EQUALS
 
Constructor Summary
JavaScriptProcessor()
           
 
Method Summary
 java.lang.String process(int level, XMLNode tag, TemplateParser parser)
          Returns the result of processing the contents of the javascript element by the JavaScript interpreter.
 
Methods inherited from class org.alicebot.server.core.processor.AIMLProcessor
process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public static final java.lang.String label
See Also:
Constant Field Values
Constructor Detail

JavaScriptProcessor

public JavaScriptProcessor()
Method Detail

process

public java.lang.String process(int level,
                                XMLNode tag,
                                TemplateParser parser)
                         throws AIMLProcessorException
Returns the result of processing the contents of the javascript element by the JavaScript interpreter.

Specified by:
process in class AIMLProcessor
Throws:
AIMLProcessorException