Package org.apache.axis2.json.moshi
Enum MoshiXMLStreamReader.JsonState
- java.lang.Object
-
- java.lang.Enum<MoshiXMLStreamReader.JsonState>
-
- org.apache.axis2.json.moshi.MoshiXMLStreamReader.JsonState
-
- All Implemented Interfaces:
Serializable
,Comparable<MoshiXMLStreamReader.JsonState>
- Enclosing class:
- MoshiXMLStreamReader
public static enum MoshiXMLStreamReader.JsonState extends Enum<MoshiXMLStreamReader.JsonState>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MoshiXMLStreamReader.JsonState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MoshiXMLStreamReader.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 MoshiXMLStreamReader.JsonState StartState
-
NameValue
public static final MoshiXMLStreamReader.JsonState NameValue
-
NameName
public static final MoshiXMLStreamReader.JsonState NameName
-
ValueValue_END
public static final MoshiXMLStreamReader.JsonState ValueValue_END
-
ValueValue_START
public static final MoshiXMLStreamReader.JsonState ValueValue_START
-
ValueValue_CHAR
public static final MoshiXMLStreamReader.JsonState ValueValue_CHAR
-
ValueEndArray
public static final MoshiXMLStreamReader.JsonState ValueEndArray
-
ValueEndObject_END_1
public static final MoshiXMLStreamReader.JsonState ValueEndObject_END_1
-
ValueEndObject_END_2
public static final MoshiXMLStreamReader.JsonState ValueEndObject_END_2
-
ValueName_END
public static final MoshiXMLStreamReader.JsonState ValueName_END
-
ValueName_START
public static final MoshiXMLStreamReader.JsonState ValueName_START
-
EndObjectEndObject
public static final MoshiXMLStreamReader.JsonState EndObjectEndObject
-
EndObjectName
public static final MoshiXMLStreamReader.JsonState EndObjectName
-
EndArrayName
public static final MoshiXMLStreamReader.JsonState EndArrayName
-
EndArrayEndObject
public static final MoshiXMLStreamReader.JsonState EndArrayEndObject
-
EndObjectBeginObject_END
public static final MoshiXMLStreamReader.JsonState EndObjectBeginObject_END
-
EndObjectBeginObject_START
public static final MoshiXMLStreamReader.JsonState EndObjectBeginObject_START
-
EndObjectEndDocument
public static final MoshiXMLStreamReader.JsonState EndObjectEndDocument
-
-
Method Detail
-
values
public static MoshiXMLStreamReader.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 (MoshiXMLStreamReader.JsonState c : MoshiXMLStreamReader.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 MoshiXMLStreamReader.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
-
-