org.aitools.programd.processor.botconfiguration
Class SubstitutionsProcessor

java.lang.Object
  extended by org.aitools.programd.processor.Processor
      extended by org.aitools.programd.processor.botconfiguration.BotConfigurationElementProcessor
          extended by org.aitools.programd.processor.botconfiguration.SubstitutionsProcessor

public class SubstitutionsProcessor
extends BotConfigurationElementProcessor

The substitutions element is a container for definitions of various substitutions performed by the engine.


Field Summary
static java.lang.String label
          The label (as required by the registration scheme).
 
Fields inherited from class org.aitools.programd.processor.botconfiguration.BotConfigurationElementProcessor
HREF, logger
 
Fields inherited from class org.aitools.programd.processor.Processor
core, EMPTY_STRING, ENABLED, ID, NAME, NAME_EQUALS, VALUE, VALUE_EQUALS
 
Constructor Summary
SubstitutionsProcessor(Core coreToUse)
          Creates a new SubstitutionsProcessor using the given Core.
 
Method Summary
 java.lang.String process(org.w3c.dom.Element element, BotsConfigurationFileParser parser)
          Generic implementation of process -- just processes children.
 
Methods inherited from class org.aitools.programd.processor.botconfiguration.BotConfigurationElementProcessor
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
The label (as required by the registration scheme).

See Also:
Constant Field Values
Constructor Detail

SubstitutionsProcessor

public SubstitutionsProcessor(Core coreToUse)
Creates a new SubstitutionsProcessor using the given Core.

Parameters:
coreToUse - the Core object to use
Method Detail

process

public java.lang.String process(org.w3c.dom.Element element,
                                BotsConfigurationFileParser parser)
                         throws ProcessorException
Description copied from class: BotConfigurationElementProcessor
Generic implementation of process -- just processes children.

Overrides:
process in class BotConfigurationElementProcessor
Parameters:
element - the element to process
parser - the parser that is doing the processing
Returns:
the result of processing (usually ignored)
Throws:
ProcessorException - if there is an error in processing
See Also:
BotConfigurationElementProcessor.process(Element, BotsConfigurationFileParser)