Package org.hibernate.type.format
Enum Class JsonDocumentItemType
- All Implemented Interfaces:
Serializable,Comparable<JsonDocumentItemType>,Constable
Json item types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnd of a Json array ']'Start of a Json array '['boolean value within Json object or arraynull value within Json object or arraynumeric value within Json object or arrayend of a Json Object '}'Start of a Json Object '{'String (quoted) value within Json object or arraykey of Json attribute -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonDocumentItemTypeReturns the enum constant of this class with the specified name.static JsonDocumentItemType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBJECT_START
Start of a Json Object '{' -
OBJECT_END
end of a Json Object '}' -
ARRAY_START
Start of a Json array '[' -
ARRAY_END
End of a Json array ']' -
VALUE_KEY
key of Json attribute -
BOOLEAN_VALUE
boolean value within Json object or array -
NULL_VALUE
null value within Json object or array -
NUMERIC_VALUE
numeric value within Json object or array -
VALUE
String (quoted) value within Json object or array
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-