|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JsonCreator.Mode>
com.fasterxml.jackson.annotation.JsonCreator.Mode
public static enum JsonCreator.Mode
| Enum Constant Summary | |
|---|---|
DEFAULT
Pseudo-mode that indicates that caller is to use default heuristics for choosing mode to use. |
|
DELEGATING
Mode that indicates that if creator takes a single argument, the whole incoming data value is to be bound into declared type of that argument; this "delegate" value is then passed as the argument to creator. |
|
DISABLED
Pseudo-mode that indicates that creator is not to be used. |
|
PROPERTIES
Mode that indicates that the argument(s) for creator are to be bound from matching properties of incoming Object value, using creator argument names (explicit or implicit) to match incoming Object properties to arguments. |
|
| Method Summary | |
|---|---|
static JsonCreator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JsonCreator.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JsonCreator.Mode DEFAULT
public static final JsonCreator.Mode DELEGATING
public static final JsonCreator.Mode PROPERTIES
Note that this mode is currently (2.5) always used for multiple-argument creators; the only ambiguous case is that of a single-argument creator.
public static final JsonCreator.Mode DISABLED
| Method Detail |
|---|
public static JsonCreator.Mode[] values()
for (JsonCreator.Mode c : JsonCreator.Mode.values()) System.out.println(c);
public static JsonCreator.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 name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||