public enum JsonSimpleType extends Enum<JsonSimpleType> implements IJsonType
| Enum Constant and Description |
|---|
BigDecimal |
BigInteger |
Boolean |
Byte |
Character |
Double |
Float |
Integer |
Long |
Short |
String |
| Modifier and Type | Method and Description |
|---|---|
static JsonSimpleType |
get(Object jsonObj) |
String |
getIdentifier() |
String |
getName() |
IJsonParentType |
getParent() |
static JsonSimpleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonSimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDefinitions, setDefinitionspublic static final JsonSimpleType String
public static final JsonSimpleType Boolean
public static final JsonSimpleType Character
public static final JsonSimpleType Byte
public static final JsonSimpleType Short
public static final JsonSimpleType Integer
public static final JsonSimpleType Long
public static final JsonSimpleType Float
public static final JsonSimpleType Double
public static final JsonSimpleType BigDecimal
public static final JsonSimpleType BigInteger
public static JsonSimpleType[] values()
for (JsonSimpleType c : JsonSimpleType.values()) System.out.println(c);
public static JsonSimpleType 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 getIdentifier()
getIdentifier in interface IJsonTypepublic IJsonParentType getParent()
public static JsonSimpleType get(Object jsonObj)
Copyright © 2018. All rights reserved.