private static enum JsonScanner.RegularExpressionState extends java.lang.Enum<JsonScanner.RegularExpressionState>
Enum Constant and Description |
---|
DONE |
IN_ESCAPE_SEQUENCE |
IN_OPTIONS |
IN_PATTERN |
INVALID |
Modifier and Type | Method and Description |
---|---|
static JsonScanner.RegularExpressionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonScanner.RegularExpressionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonScanner.RegularExpressionState IN_PATTERN
public static final JsonScanner.RegularExpressionState IN_ESCAPE_SEQUENCE
public static final JsonScanner.RegularExpressionState IN_OPTIONS
public static final JsonScanner.RegularExpressionState DONE
public static final JsonScanner.RegularExpressionState INVALID
public static JsonScanner.RegularExpressionState[] values()
for (JsonScanner.RegularExpressionState c : JsonScanner.RegularExpressionState.values()) System.out.println(c);
public static JsonScanner.RegularExpressionState 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