public static enum JSONUtil.SchemaVersion extends Enum<JSONUtil.SchemaVersion>
Modifier and Type | Method and Description |
---|---|
String |
getVersionUrl() |
static JSONUtil.SchemaVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONUtil.SchemaVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONUtil.SchemaVersion CURRENT
public static final JSONUtil.SchemaVersion DRAFT_04
public static final JSONUtil.SchemaVersion DRAFT_03
public static JSONUtil.SchemaVersion[] values()
for (JSONUtil.SchemaVersion c : JSONUtil.SchemaVersion.values()) System.out.println(c);
public static JSONUtil.SchemaVersion 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 getVersionUrl()