public static enum JsonParser.PositionTracking extends java.lang.Enum<JsonParser.PositionTracking>
JsonParser
can use for tracking parsing position for error reporting.Enum Constant and Description |
---|
DO_NOT_TRACK
Do not keep track of line and column currently being parsed, trading reduced computation cost for reduced usability of error messages.
|
TRACK
Keep track of the line and column currently being parsed for more precise error messages.
|
Modifier and Type | Method and Description |
---|---|
static JsonParser.PositionTracking |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.PositionTracking[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParser.PositionTracking TRACK
public static final JsonParser.PositionTracking DO_NOT_TRACK
public static JsonParser.PositionTracking[] values()
for (JsonParser.PositionTracking c : JsonParser.PositionTracking.values()) System.out.println(c);
public static JsonParser.PositionTracking 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