org.alicebot.server.core.processor
Class BotProcessor

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.BotProcessor

public class BotProcessor
extends AIMLProcessor

Handles a bot element.

See Also:
AIMLProcessor

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
BotProcessor()
           
 
Method Summary
 java.lang.String process(int level, XMLNode tag, TemplateParser parser)
          Retrieves the value of the desired bot predicate from Globals.
 
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

BotProcessor

public BotProcessor()
Method Detail

process

public java.lang.String process(int level,
                                XMLNode tag,
                                TemplateParser parser)
                         throws AIMLProcessorException
Retrieves the value of the desired bot predicate from Globals.

Specified by:
process in class AIMLProcessor
Throws:
AIMLProcessorException
See Also:
AIMLProcessor.process(int, org.alicebot.server.core.parser.XMLNode, org.alicebot.server.core.parser.GenericParser)