public static enum CanonicalJson.Mode extends Enum<CanonicalJson.Mode>
DOCUMENT mode that rejects unregistered arrays.| Enum Constant and Description |
|---|
DOCUMENT
Arrays are ordered as registered; an unregistered array keeps its order.
|
DOCUMENT_STRICT
As
DOCUMENT, and an unregistered array outside open content is SCHEMA_VIOLATION. |
JCS
Every array keeps its order.
|
| Modifier and Type | Method and Description |
|---|---|
static CanonicalJson.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CanonicalJson.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CanonicalJson.Mode JCS
public static final CanonicalJson.Mode DOCUMENT
public static final CanonicalJson.Mode DOCUMENT_STRICT
DOCUMENT, and an unregistered array outside open content is SCHEMA_VIOLATION.public static CanonicalJson.Mode[] values()
for (CanonicalJson.Mode c : CanonicalJson.Mode.values()) System.out.println(c);
public static CanonicalJson.Mode 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 null