public enum Annotations extends java.lang.Enum<Annotations>
| Enum Constant and Description |
|---|
JACKSON
Standard Jackson annotations, defined in Jackson core and mapper
packages
|
JAXB
Standard JAXB annotations, used in a way that approximates expected
definitions (since JAXB defines XML aspects, not all features map
well to JSON handling)
|
| Modifier and Type | Method and Description |
|---|---|
static Annotations |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Annotations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotations JACKSON
public static final Annotations JAXB
public static Annotations[] values()
for (Annotations c : Annotations.values()) System.out.println(c);
public static Annotations 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 null