org.aitools.programd.processor.botconfiguration
Class ListenerProcessor

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

public class ListenerProcessor
extends BotConfigurationElementProcessor

The listener element is a container for defining parameters of a listener.

Author:
Noel Bush

Field Summary
private static java.lang.String CLASS
          The string ""class"".
static java.lang.String label
          The label (as required by the registration scheme).
private static java.lang.String SEPARATOR
          The string "" : "".
private static java.lang.String TRUE
          The string ""true"".
 
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
ListenerProcessor(Core coreToUse)
          Creates a new ListenerProcessor 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

CLASS

private static final java.lang.String CLASS
The string ""class"".

See Also:
Constant Field Values

TRUE

private static final java.lang.String TRUE
The string ""true"".

See Also:
Constant Field Values

SEPARATOR

private static final java.lang.String SEPARATOR
The string "" : "".

See Also:
Constant Field Values
Constructor Detail

ListenerProcessor

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