org.aitools.programd.processor.botconfiguration
Class PredicateProcessor

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

public class PredicateProcessor
extends BotConfigurationElementProcessor

The predicate element specifies for specifying characteristics of a predicate .

Author:
Noel Bush

Field Summary
private static java.lang.String DEFAULT
           
static java.lang.String label
          The label (as required by the registration scheme).
private static java.lang.String SET_RETURN
           
 
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
PredicateProcessor(Core coreToUse)
          Creates a new PredicateProcessor 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

DEFAULT

private static final java.lang.String DEFAULT
See Also:
Constant Field Values

SET_RETURN

private static final java.lang.String SET_RETURN
See Also:
Constant Field Values
Constructor Detail

PredicateProcessor

public PredicateProcessor(Core coreToUse)
Creates a new PredicateProcessor 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)
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)
See Also:
BotConfigurationElementProcessor.process(Element, BotsConfigurationFileParser)