private static enum UnifiedJEXL.BlockType extends java.lang.Enum<UnifiedJEXL.BlockType>
Enum Constant and Description |
---|
DIRECTIVE
Block is a directive, ie a fragment of code.
|
VERBATIM
Block is to be output "as is".
|
Modifier and Type | Method and Description |
---|---|
static UnifiedJEXL.BlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnifiedJEXL.BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnifiedJEXL.BlockType VERBATIM
public static final UnifiedJEXL.BlockType DIRECTIVE
public static UnifiedJEXL.BlockType[] values()
for (UnifiedJEXL.BlockType c : UnifiedJEXL.BlockType.values()) System.out.println(c);
public static UnifiedJEXL.BlockType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null