Package com.fizzed.rocker.compiler
Enum PlainTextStrategy
- java.lang.Object
-
- java.lang.Enum<PlainTextStrategy>
-
- com.fizzed.rocker.compiler.PlainTextStrategy
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PlainTextStrategy>
public enum PlainTextStrategy extends java.lang.Enum<PlainTextStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STATIC_BYTE_ARRAYSSTATIC_BYTE_ARRAYS_VIA_UNLOADED_CLASSSTATIC_STRINGS
-
Constructor Summary
Constructors Modifier Constructor Description privatePlainTextStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlainTextStrategyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PlainTextStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC_STRINGS
public static final PlainTextStrategy STATIC_STRINGS
-
STATIC_BYTE_ARRAYS_VIA_UNLOADED_CLASS
public static final PlainTextStrategy STATIC_BYTE_ARRAYS_VIA_UNLOADED_CLASS
-
STATIC_BYTE_ARRAYS
public static final PlainTextStrategy STATIC_BYTE_ARRAYS
-
-
Method Detail
-
values
public static PlainTextStrategy[] 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 (PlainTextStrategy c : PlainTextStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlainTextStrategy 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 namejava.lang.NullPointerException- if the argument is null
-
-