private static enum JsonGeneratorImpl.GeneratorState extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.