private static enum JsonGeneratorImpl.GeneratorState extends Enum<JsonGeneratorImpl.GeneratorState>
Enum Constant and Description |
---|
AFTER_KEY |
END |
IN_ARRAY |
IN_OBJECT |
INITIAL |
START_ARRAY |
START_OBJECT |
Modifier and Type | Field and Description |
---|---|
private boolean |
acceptsKey |
private boolean |
acceptsValue |
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
private final boolean acceptsKey
private final boolean acceptsValue
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–2018 The Apache Software Foundation. All rights reserved.