org.aitools.programd.processor.botconfiguration
Class PersonProcessor

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.SubstitutionElementProcessor
              extended by org.aitools.programd.processor.botconfiguration.PersonProcessor

public class PersonProcessor
extends SubstitutionElementProcessor

The person element is a container for definitions of person substitutions to be performed on a string.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.aitools.programd.processor.botconfiguration.SubstitutionElementProcessor
SubstitutionElementProcessor.SubstitutionType
 
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
PersonProcessor(Core coreToUse)
          Creates a new PersonProcessor 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.SubstitutionElementProcessor
addSubstitutions
 
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

PersonProcessor

public PersonProcessor(Core coreToUse)
Creates a new PersonProcessor 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)