public enum JsonFormatTypes extends Enum<JsonFormatTypes>
Enum Constant and Description |
---|
ANY |
ARRAY |
BOOLEAN |
INTEGER |
NULL |
NUMBER |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
static JsonFormatTypes |
forValue(String s) |
String |
value() |
static JsonFormatTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonFormatTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonFormatTypes STRING
public static final JsonFormatTypes NUMBER
public static final JsonFormatTypes INTEGER
public static final JsonFormatTypes BOOLEAN
public static final JsonFormatTypes OBJECT
public static final JsonFormatTypes ARRAY
public static final JsonFormatTypes NULL
public static final JsonFormatTypes ANY
public static JsonFormatTypes[] values()
for (JsonFormatTypes c : JsonFormatTypes.values()) System.out.println(c);
public static JsonFormatTypes 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 nullpublic String value()
public static JsonFormatTypes forValue(String s)
Copyright © 2018 JBoss by Red Hat. All rights reserved.