Package com.fasterxml.jackson.jaxrs.cfg
Enum Annotations
- All Implemented Interfaces:
Serializable
,Comparable<Annotations>
,java.lang.constant.Constable
Enumeration that defines standard annotation sets available for configuring
data binding aspects.
- Since:
- 2.2 (earlier located in actual datatype-specific modules)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Annotations
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.
-
Enum Constant Details
-
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)
-
-
Constructor Details
-
Annotations
private Annotations()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-