org.odata4j.format.json
Enum JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType

java.lang.Object
  extended by java.lang.Enum<JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType>
      extended by org.odata4j.format.json.JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType
All Implemented Interfaces:
Serializable, Comparable<JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType>
Enclosing interface:
JsonStreamReaderFactory.JsonStreamTokenizer

public static enum JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType
extends Enum<JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType>


Enum Constant Summary
COLON
           
COMMA
           
FALSE
           
LEFT_BRACKET
           
LEFT_CURLY_BRACKET
           
NULL
           
NUMBER
           
RIGHT_BRACKET
           
RIGHT_CURLY_BRACKET
           
STRING
           
TRUE
           
 
Method Summary
static JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType[] 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

COLON

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType COLON

COMMA

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType COMMA

FALSE

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType FALSE

LEFT_BRACKET

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType LEFT_BRACKET

LEFT_CURLY_BRACKET

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType LEFT_CURLY_BRACKET

NULL

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType NULL

NUMBER

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType NUMBER

RIGHT_BRACKET

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType RIGHT_BRACKET

RIGHT_CURLY_BRACKET

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType RIGHT_CURLY_BRACKET

STRING

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType STRING

TRUE

public static final JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType TRUE
Method Detail

valueOf

public static JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType 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 name
NullPointerException - if the argument is null

values

public static JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType[] 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 (JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType c : JsonStreamReaderFactory.JsonStreamTokenizer.JsonTokenType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared


http://odata4j.org