private static enum VariablesWriter.State extends Enum<VariablesWriter.State>
Enum Constant and Description |
---|
NONE
Neutral value
|
TEXT
Inside ordinary text, that is, not variable.
|
VARIABLE
Variable in process.
|
VARIABLE_MARK
Variable mark discovered.
|
Modifier and Type | Method and Description |
---|---|
static VariablesWriter.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariablesWriter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariablesWriter.State NONE
public static final VariablesWriter.State TEXT
public static final VariablesWriter.State VARIABLE_MARK
public static final VariablesWriter.State VARIABLE
public static VariablesWriter.State[] values()
for (VariablesWriter.State c : VariablesWriter.State.values()) System.out.println(c);
public static VariablesWriter.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.