org.aitools.programd.parser
Class BotsConfigurationFileParser

java.lang.Object
  extended by org.aitools.programd.parser.GenericParser<BotConfigurationElementProcessor>
      extended by org.aitools.programd.parser.BotsConfigurationFileParser

public class BotsConfigurationFileParser
extends GenericParser<BotConfigurationElementProcessor>

BotsConfigurationFileParser processes a bots configuration file.


Field Summary
private  Bot currentBot
           
 
Fields inherited from class org.aitools.programd.parser.GenericParser
COMMA, core, docURL, EMPTY_STRING, INDEX, logger, utilDocBuilder
 
Constructor Summary
BotsConfigurationFileParser(Core coreToUse)
          Initializes a BotsConfigurationFileParser.
 
Method Summary
 Bot getCurrentBot()
           
 void setCurrentBot(Bot bot)
          Sets the current Bot to the given Bot.
 
Methods inherited from class org.aitools.programd.parser.GenericParser
evaluate, evaluate, evaluate, getCore, getCurrentDocURL, getValid1dIndex, getValid2dIndex, handleUnknownElement, process, processElement, processResponse, processResponse, shortcutTag, verifyAndProcess, verifyAndProcess, verifyAndProcessResponse, verifyAndProcessResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentBot

private Bot currentBot
Constructor Detail

BotsConfigurationFileParser

public BotsConfigurationFileParser(Core coreToUse)
Initializes a BotsConfigurationFileParser.

Parameters:
coreToUse -
Method Detail

setCurrentBot

public void setCurrentBot(Bot bot)
Sets the current Bot to the given Bot.

Parameters:
bot - the Bot to set the current Bot to

getCurrentBot

public Bot getCurrentBot()
Returns:
the current Bot