Enum Class Jackson
- All Implemented Interfaces:
TypedImport
,Serializable
,Comparable<Jackson>
,Constable
Jackson imports and their paths for FasterXml.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeserializationContext.JsonCreator.JsonDeserialize.JsonDeserializer.JsonGenerator.JsonIgnore.JsonIgnoreProperties.JsonParser.JsonProcessingException.JsonProperty.JsonPropertyOrder.JsonSerialize.JsonSerializer.JsonSubTypes.JsonTypeInfo.JsonValue.SerializerProvider. -
Method Summary
Modifier and TypeMethodDescriptionpath
(dk.mada.jaxrs.generator.mpclient.imports.Imports.ImportRenderPrefs irp) Returns the import path suitable for the active jackson implementation.static Jackson
Returns the enum constant of this class with the specified name.static Jackson[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESERIALIZATION_CONTEXT
DeserializationContext. -
JSON_CREATOR
JsonCreator. -
JSON_DESERIALIZE
JsonDeserialize. -
JSON_DESERIALIZER
JsonDeserializer. -
JSON_GENERATOR
JsonGenerator. -
JSON_IGNORE
JsonIgnore. -
JSON_IGNORE_PROPERTIES
JsonIgnoreProperties. -
JSON_PARSER
JsonParser. -
JSON_PROCESSING_EXCEPTION
JsonProcessingException. -
JSON_PROPERTY
JsonProperty. -
JSON_PROPERTY_ORDER
JsonPropertyOrder. -
JSON_SERIALIZE
JsonSerialize. -
JSON_SERIALIZER
JsonSerializer. -
JSON_SUB_TYPES
JsonSubTypes. -
JSON_TYPE_INFO
JsonTypeInfo. -
JSON_VALUE
JsonValue. -
SERIALIZER_PROVIDER
SerializerProvider.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
path
public Optional<String> path(dk.mada.jaxrs.generator.mpclient.imports.Imports.ImportRenderPrefs irp) Returns the import path suitable for the active jackson implementation.- Specified by:
path
in interfaceTypedImport
- Parameters:
irp
- the import rendering preferences- Returns:
- the import path suitable for the active jackson implementation
-