org.aitools.programd.processor.aiml
Enum ConditionProcessor.ListItemType

java.lang.Object
  extended by java.lang.Enum<ConditionProcessor.ListItemType>
      extended by org.aitools.programd.processor.aiml.ConditionProcessor.ListItemType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConditionProcessor.ListItemType>
Enclosing class:
ConditionProcessor

public static enum ConditionProcessor.ListItemType
extends java.lang.Enum<ConditionProcessor.ListItemType>

Different types of condition.


Enum Constant Summary
DEFAULT
          A defaultListItem in a <condition/>.
NAME_VALUE
          A nameValueListItem in a <condition/>.
VALUE_ONLY
          A valueOnlyListItem in a <condition/>.
 
Method Summary
static ConditionProcessor.ListItemType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConditionProcessor.ListItemType[] 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

NAME_VALUE

public static final ConditionProcessor.ListItemType NAME_VALUE
A nameValueListItem in a <condition/>.


DEFAULT

public static final ConditionProcessor.ListItemType DEFAULT
A defaultListItem in a <condition/>.


VALUE_ONLY

public static final ConditionProcessor.ListItemType VALUE_ONLY
A valueOnlyListItem in a <condition/>.

Method Detail

values

public static ConditionProcessor.ListItemType[] 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 (ConditionProcessor.ListItemType c : ConditionProcessor.ListItemType.values())
    System.out.println(c);

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

valueOf

public static ConditionProcessor.ListItemType 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