public static enum JsonSerialize.Typing extends java.lang.Enum<JsonSerialize.Typing>
JsonSerialize.typing()
property
to define whether type detection is based on dynamic runtime
type (DYNAMIC) or declared type (STATIC).Enum Constant and Description |
---|
DEFAULT_TYPING
Pseudo-value that is used to indicate
"use whatever is default used at higher level".
|
DYNAMIC
Value that indicates that the actual dynamic runtime type is to
be used.
|
STATIC
Value that indicates that the static declared type is to
be used.
|
Modifier and Type | Method and Description |
---|---|
static JsonSerialize.Typing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonSerialize.Typing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonSerialize.Typing DYNAMIC
public static final JsonSerialize.Typing STATIC
public static final JsonSerialize.Typing DEFAULT_TYPING
public static JsonSerialize.Typing[] values()
for (JsonSerialize.Typing c : JsonSerialize.Typing.values()) System.out.println(c);
public static JsonSerialize.Typing valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved