com.ibm.portal.streaming.json
Enum JsonParserReader.TYPE
java.lang.Object
java.lang.Enum<JsonParserReader.TYPE>
com.ibm.portal.streaming.json.JsonParserReader.TYPE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JsonParserReader.TYPE>
- Enclosing class:
- JsonParserReader
public static enum JsonParserReader.TYPE
- extends java.lang.Enum<JsonParserReader.TYPE>
Type of the next entry
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 |
START_DOCUMENT
public static final JsonParserReader.TYPE START_DOCUMENT
END_DOCUMENT
public static final JsonParserReader.TYPE END_DOCUMENT
START_OBJECT
public static final JsonParserReader.TYPE START_OBJECT
END_OBJECT
public static final JsonParserReader.TYPE END_OBJECT
START_ARRAY
public static final JsonParserReader.TYPE START_ARRAY
END_ARRAY
public static final JsonParserReader.TYPE END_ARRAY
START_MEMBER
public static final JsonParserReader.TYPE START_MEMBER
END_MEMBER
public static final JsonParserReader.TYPE END_MEMBER
START_BOOLEAN
public static final JsonParserReader.TYPE START_BOOLEAN
END_BOOLEAN
public static final JsonParserReader.TYPE END_BOOLEAN
START_NUMBER
public static final JsonParserReader.TYPE START_NUMBER
END_NUMBER
public static final JsonParserReader.TYPE END_NUMBER
START_STRING
public static final JsonParserReader.TYPE START_STRING
END_STRING
public static final JsonParserReader.TYPE END_STRING
START_NULL
public static final JsonParserReader.TYPE START_NULL
END_NULL
public static final JsonParserReader.TYPE END_NULL
values
public static JsonParserReader.TYPE[] 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 (JsonParserReader.TYPE c : JsonParserReader.TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JsonParserReader.TYPE 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