|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JsonValue.JsonType> de.hpi.fgis.dude.util.data.json.JsonValue.JsonType
public static enum JsonValue.JsonType
JsonValue.JsonType
includes all Json types that can be returned by JsonValue.getType()
.
Enum Constant Summary | |
---|---|
Array
The type of an array. |
|
Boolean
The type of a boolean value. |
|
Null
null . |
|
Number
The type of a numerical value. |
|
Record
The type of a Json record. |
|
String
The type of a String value. |
Method Summary | |
---|---|
boolean |
isAtomic()
Checks, whether the current type is atomic. |
static JsonValue.JsonType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JsonValue.JsonType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JsonValue.JsonType Null
null
.
public static final JsonValue.JsonType Array
public static final JsonValue.JsonType Boolean
public static final JsonValue.JsonType Number
public static final JsonValue.JsonType Record
public static final JsonValue.JsonType String
Method Detail |
---|
public static JsonValue.JsonType[] values()
for (JsonValue.JsonType c : JsonValue.JsonType.values()) System.out.println(c);
public static JsonValue.JsonType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isAtomic()
true
, if the instance does not collect several other Json instances; otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |