Package com.esri.core.geometry
Enum JsonReader.Token
- java.lang.Object
-
- java.lang.Enum<JsonReader.Token>
-
- com.esri.core.geometry.JsonReader.Token
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JsonReader.Token>
- Enclosing interface:
- JsonReader
public static enum JsonReader.Token extends java.lang.Enum<JsonReader.Token>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_ARRAY
END_OBJECT
FIELD_NAME
START_ARRAY
START_OBJECT
VALUE_FALSE
VALUE_NULL
VALUE_NUMBER_FLOAT
VALUE_NUMBER_INT
VALUE_STRING
VALUE_TRUE
-
Constructor Summary
Constructors Modifier Constructor Description private
Token()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonReader.Token
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JsonReader.Token[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
END_ARRAY
public static final JsonReader.Token END_ARRAY
-
END_OBJECT
public static final JsonReader.Token END_OBJECT
-
FIELD_NAME
public static final JsonReader.Token FIELD_NAME
-
START_ARRAY
public static final JsonReader.Token START_ARRAY
-
START_OBJECT
public static final JsonReader.Token START_OBJECT
-
VALUE_FALSE
public static final JsonReader.Token VALUE_FALSE
-
VALUE_NULL
public static final JsonReader.Token VALUE_NULL
-
VALUE_NUMBER_FLOAT
public static final JsonReader.Token VALUE_NUMBER_FLOAT
-
VALUE_NUMBER_INT
public static final JsonReader.Token VALUE_NUMBER_INT
-
VALUE_STRING
public static final JsonReader.Token VALUE_STRING
-
VALUE_TRUE
public static final JsonReader.Token VALUE_TRUE
-
-
Method Detail
-
values
public static JsonReader.Token[] 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 (JsonReader.Token c : JsonReader.Token.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonReader.Token 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
-
-