Package org.mwolff.command.sax
Enum GlobalCommandConstants
- java.lang.Object
-
- java.lang.Enum<GlobalCommandConstants>
-
- org.mwolff.command.sax.GlobalCommandConstants
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalCommandConstants>
public enum GlobalCommandConstants extends Enum<GlobalCommandConstants>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_LIST
COMMAND_CONTAINER
ERROR_STRING
FILE_NAME
INPUT_SOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalCommandConstants
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlobalCommandConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_NAME
public static final GlobalCommandConstants FILE_NAME
-
INPUT_SOURCE
public static final GlobalCommandConstants INPUT_SOURCE
-
ERROR_STRING
public static final GlobalCommandConstants ERROR_STRING
-
ACTION_LIST
public static final GlobalCommandConstants ACTION_LIST
-
COMMAND_CONTAINER
public static final GlobalCommandConstants COMMAND_CONTAINER
-
-
Method Detail
-
values
public static GlobalCommandConstants[] 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 (GlobalCommandConstants c : GlobalCommandConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalCommandConstants valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-