public enum Annotations extends Enum<Annotations>
Enum Constant and Description |
---|
JACKSON
Standard Jackson annotations, defined in Jackson core and databind
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(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(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 nullCopyright © 2016 JBoss by Red Hat. All rights reserved.