public enum BuiltinSchema extends Enum<BuiltinSchema>
| Enum Constant and Description |
|---|
DEFAULT_CORE
The default core schema
|
DEFAULT_HYPERSCHEMA
Default hyper-schema
|
DRAFTV3_CORE
Draft v3 core schema
|
DRAFTV3_HYPERSCHEMA
Draft v3 hyper-schema
|
DRAFTV3_LINKS
Draft v3 LDO (Link Description Object) schema
|
DRAFTV4_CORE
Draft v4 core schema
|
| Modifier and Type | Method and Description |
|---|---|
JsonNode |
getRawSchema()
Get the raw JSON document for that schema
|
URI |
getURI()
Get the locator for this schema
|
String |
toString() |
static BuiltinSchema |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinSchema[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltinSchema DEFAULT_CORE
public static final BuiltinSchema DRAFTV3_CORE
public static final BuiltinSchema DRAFTV4_CORE
public static final BuiltinSchema DRAFTV3_LINKS
public static final BuiltinSchema DRAFTV3_HYPERSCHEMA
public static final BuiltinSchema DEFAULT_HYPERSCHEMA
public static BuiltinSchema[] values()
for (BuiltinSchema c : BuiltinSchema.values()) System.out.println(c);
public static BuiltinSchema 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 URI getURI()
public JsonNode getRawSchema()
JsonNodepublic String toString()
toString in class Enum<BuiltinSchema>Copyright © 2013. All Rights Reserved.