Module org.apache.johnzon.core
Package org.apache.johnzon.core
Enum JsonGeneratorImpl.GeneratorState
- java.lang.Object
- 
- java.lang.Enum<JsonGeneratorImpl.GeneratorState>
- 
- org.apache.johnzon.core.JsonGeneratorImpl.GeneratorState
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<JsonGeneratorImpl.GeneratorState>
 - Enclosing class:
- JsonGeneratorImpl
 
 private static enum JsonGeneratorImpl.GeneratorState extends java.lang.Enum<JsonGeneratorImpl.GeneratorState> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description AFTER_KEYENDIN_ARRAYIN_OBJECTINITIALROOT_VALUESTART_ARRAYSTART_OBJECT
 - 
Field SummaryFields Modifier and Type Field Description private booleanacceptsKeyprivate booleanacceptsValueprivate booleanendable
 - 
Constructor SummaryConstructors Modifier Constructor Description privateGeneratorState(boolean acceptsKey, boolean acceptsValue, boolean endable)
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonGeneratorImpl.GeneratorStatevalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
INITIALpublic static final JsonGeneratorImpl.GeneratorState INITIAL 
 - 
START_OBJECTpublic static final JsonGeneratorImpl.GeneratorState START_OBJECT 
 - 
IN_OBJECTpublic static final JsonGeneratorImpl.GeneratorState IN_OBJECT 
 - 
AFTER_KEYpublic static final JsonGeneratorImpl.GeneratorState AFTER_KEY 
 - 
START_ARRAYpublic static final JsonGeneratorImpl.GeneratorState START_ARRAY 
 - 
IN_ARRAYpublic static final JsonGeneratorImpl.GeneratorState IN_ARRAY 
 - 
ENDpublic static final JsonGeneratorImpl.GeneratorState END 
 - 
ROOT_VALUEpublic static final JsonGeneratorImpl.GeneratorState ROOT_VALUE 
 
- 
 - 
Method Detail- 
valuespublic static JsonGeneratorImpl.GeneratorState[] 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 (JsonGeneratorImpl.GeneratorState c : JsonGeneratorImpl.GeneratorState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static JsonGeneratorImpl.GeneratorState 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
 
 
- 
 
-