public static enum JSONWriter.State extends Enum<JSONWriter.State>
| Enum Constant and Description |
|---|
ArrayValue |
BeginArray |
BeginObject |
PropertyKey |
PropertyValue |
| Modifier and Type | Method and Description |
|---|---|
static JSONWriter.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONWriter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONWriter.State BeginObject
public static final JSONWriter.State PropertyKey
public static final JSONWriter.State PropertyValue
public static final JSONWriter.State BeginArray
public static final JSONWriter.State ArrayValue
public static JSONWriter.State[] values()
for (JSONWriter.State c : JSONWriter.State.values()) System.out.println(c);
public static JSONWriter.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2013 Alibaba Group. All Rights Reserved.