org.aitools.programd.processor.botconfiguration
Enum SubstitutionElementProcessor.SubstitutionType

java.lang.Object
  extended by java.lang.Enum<SubstitutionElementProcessor.SubstitutionType>
      extended by org.aitools.programd.processor.botconfiguration.SubstitutionElementProcessor.SubstitutionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SubstitutionElementProcessor.SubstitutionType>
Enclosing class:
SubstitutionElementProcessor

static enum SubstitutionElementProcessor.SubstitutionType
extends java.lang.Enum<SubstitutionElementProcessor.SubstitutionType>

Package-visibility enum for specifying substitution type.


Enum Constant Summary
GENDER
          a gender substitution
INPUT
          an input substitution
PERSON
          a person substitution
PERSON2
          a person2 substitution
 
Method Summary
static SubstitutionElementProcessor.SubstitutionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SubstitutionElementProcessor.SubstitutionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INPUT

public static final SubstitutionElementProcessor.SubstitutionType INPUT
an input substitution


GENDER

public static final SubstitutionElementProcessor.SubstitutionType GENDER
a gender substitution


PERSON

public static final SubstitutionElementProcessor.SubstitutionType PERSON
a person substitution


PERSON2

public static final SubstitutionElementProcessor.SubstitutionType PERSON2
a person2 substitution

Method Detail

values

public static SubstitutionElementProcessor.SubstitutionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SubstitutionElementProcessor.SubstitutionType c : SubstitutionElementProcessor.SubstitutionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SubstitutionElementProcessor.SubstitutionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null