org.apache.axis2.json.gson
Enum GsonXMLStreamReader.JsonState

java.lang.Object
  extended by java.lang.Enum<GsonXMLStreamReader.JsonState>
      extended by org.apache.axis2.json.gson.GsonXMLStreamReader.JsonState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GsonXMLStreamReader.JsonState>
Enclosing class:
GsonXMLStreamReader

public static enum GsonXMLStreamReader.JsonState
extends java.lang.Enum<GsonXMLStreamReader.JsonState>


Enum Constant Summary
EndArrayEndObject
           
EndArrayName
           
EndObjectBeginObject_END
           
EndObjectBeginObject_START
           
EndObjectEndDocument
           
EndObjectEndObject
           
EndObjectName
           
NameName
           
NameValue
           
StartState
           
ValueEndArray
           
ValueEndObject_END_1
           
ValueEndObject_END_2
           
ValueName_END
           
ValueName_START
           
ValueValue_CHAR
           
ValueValue_END
           
ValueValue_START
           
 
Method Summary
static GsonXMLStreamReader.JsonState valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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 name
java.lang.NullPointerException - if the argument is null


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.