public enum JsonObjectType extends Enum<JsonObjectType>
| Enum Constant and Description |
|---|
Attribute |
CDATA |
Element |
Namespace |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static JsonObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonObjectType Element
public static final JsonObjectType Attribute
public static final JsonObjectType Namespace
public static final JsonObjectType CDATA
public static JsonObjectType[] values()
for (JsonObjectType c : JsonObjectType.values()) System.out.println(c);
public static JsonObjectType 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 int getValue()
Copyright © 2016. All rights reserved.