Package org.apache.axis2.json.gson
Enum GsonXMLStreamReader.JsonState
- java.lang.Object
-
- java.lang.Enum<GsonXMLStreamReader.JsonState>
-
- org.apache.axis2.json.gson.GsonXMLStreamReader.JsonState
-
- All Implemented Interfaces:
Serializable
,Comparable<GsonXMLStreamReader.JsonState>
- Enclosing class:
- GsonXMLStreamReader
public static enum GsonXMLStreamReader.JsonState extends Enum<GsonXMLStreamReader.JsonState>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GsonXMLStreamReader.JsonState
valueOf(String name)
Returns the enum constant of this type with the specified name.static GsonXMLStreamReader.JsonState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
StartState
public static final GsonXMLStreamReader.JsonState StartState
-
NameValue
public static final GsonXMLStreamReader.JsonState NameValue
-
NameName
public static final GsonXMLStreamReader.JsonState NameName
-
ValueValue_END
public static final GsonXMLStreamReader.JsonState ValueValue_END
-
ValueValue_START
public static final GsonXMLStreamReader.JsonState ValueValue_START
-
ValueValue_CHAR
public static final GsonXMLStreamReader.JsonState ValueValue_CHAR
-
ValueEndArray
public static final GsonXMLStreamReader.JsonState ValueEndArray
-
ValueEndObject_END_1
public static final GsonXMLStreamReader.JsonState ValueEndObject_END_1
-
ValueEndObject_END_2
public static final GsonXMLStreamReader.JsonState ValueEndObject_END_2
-
ValueName_END
public static final GsonXMLStreamReader.JsonState ValueName_END
-
ValueName_START
public static final GsonXMLStreamReader.JsonState ValueName_START
-
EndObjectEndObject
public static final GsonXMLStreamReader.JsonState EndObjectEndObject
-
EndObjectName
public static final GsonXMLStreamReader.JsonState EndObjectName
-
EndArrayName
public static final GsonXMLStreamReader.JsonState EndArrayName
-
EndArrayEndObject
public static final GsonXMLStreamReader.JsonState EndArrayEndObject
-
EndObjectBeginObject_END
public static final GsonXMLStreamReader.JsonState EndObjectBeginObject_END
-
EndObjectBeginObject_START
public static final GsonXMLStreamReader.JsonState EndObjectBeginObject_START
-
EndObjectEndDocument
public static final GsonXMLStreamReader.JsonState EndObjectEndDocument
-
-
Method Detail
-
values
public static GsonXMLStreamReader.JsonState[] 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 (GsonXMLStreamReader.JsonState c : GsonXMLStreamReader.JsonState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GsonXMLStreamReader.JsonState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-