private static enum JsonGeneratorImpl.GeneratorState extends Enum<JsonGeneratorImpl.GeneratorState>
| Enum Constant and Description |
|---|
AFTER_KEY |
END |
IN_ARRAY |
IN_OBJECT |
INITIAL |
ROOT_VALUE |
START_ARRAY |
START_OBJECT |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
acceptsKey |
private boolean |
acceptsValue |
private boolean |
endable |
| Modifier and Type | Method and Description |
|---|---|
static JsonGeneratorImpl.GeneratorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonGeneratorImpl.GeneratorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonGeneratorImpl.GeneratorState INITIAL
public static final JsonGeneratorImpl.GeneratorState START_OBJECT
public static final JsonGeneratorImpl.GeneratorState IN_OBJECT
public static final JsonGeneratorImpl.GeneratorState AFTER_KEY
public static final JsonGeneratorImpl.GeneratorState START_ARRAY
public static final JsonGeneratorImpl.GeneratorState IN_ARRAY
public static final JsonGeneratorImpl.GeneratorState END
public static final JsonGeneratorImpl.GeneratorState ROOT_VALUE
private final boolean acceptsKey
private final boolean acceptsValue
private final boolean endable
public static JsonGeneratorImpl.GeneratorState[] values()
for (JsonGeneratorImpl.GeneratorState c : JsonGeneratorImpl.GeneratorState.values()) System.out.println(c);
public static JsonGeneratorImpl.GeneratorState 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 © 2014–2019 The Apache Software Foundation. All rights reserved.