public final class EnumValues
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static EnumValues |
construct(SerializationConfig config,
java.lang.Class<java.lang.Enum<?>> enumClass)
NOTE: do NOT call this if configuration may change, and choice between toString()
and name() might change dynamically.
|
static EnumValues |
constructFromName(MapperConfig<?> config,
java.lang.Class<java.lang.Enum<?>> enumClass) |
static EnumValues |
constructFromToString(MapperConfig<?> config,
java.lang.Class<java.lang.Enum<?>> enumClass) |
java.util.List<java.lang.Enum<?>> |
enums()
Convenience accessor for getting raw Enum instances.
|
java.lang.Class<java.lang.Enum<?>> |
getEnumClass() |
java.util.EnumMap<?,SerializableString> |
internalMap()
Method used for serialization and introspection by core Jackson code.
|
SerializableString |
serializedValueFor(java.lang.Enum<?> key) |
java.util.Collection<SerializableString> |
values() |
public static EnumValues construct(SerializationConfig config, java.lang.Class<java.lang.Enum<?>> enumClass)
public static EnumValues constructFromName(MapperConfig<?> config, java.lang.Class<java.lang.Enum<?>> enumClass)
public static EnumValues constructFromToString(MapperConfig<?> config, java.lang.Class<java.lang.Enum<?>> enumClass)
public SerializableString serializedValueFor(java.lang.Enum<?> key)
public java.util.Collection<SerializableString> values()
public java.util.List<java.lang.Enum<?>> enums()
public java.util.EnumMap<?,SerializableString> internalMap()
public java.lang.Class<java.lang.Enum<?>> getEnumClass()
Copyright © 2010 - 2020 Adobe. All Rights Reserved