public final class EnumValues extends Object
Modifier and Type | Method and Description |
---|---|
static EnumValues |
construct(SerializationConfig config,
Class<Enum<?>> enumClass) |
static EnumValues |
constructFromName(MapperConfig<?> config,
Class<Enum<?>> enumClass) |
static EnumValues |
constructFromToString(MapperConfig<?> config,
Class<Enum<?>> enumClass) |
Class<Enum<?>> |
getEnumClass() |
EnumMap<?,SerializableString> |
internalMap()
Method used for serialization and introspection by core Jackson code.
|
SerializableString |
serializedValueFor(Enum<?> key) |
Collection<SerializableString> |
values() |
public static EnumValues construct(SerializationConfig config, Class<Enum<?>> enumClass)
public static EnumValues constructFromName(MapperConfig<?> config, Class<Enum<?>> enumClass)
public static EnumValues constructFromToString(MapperConfig<?> config, Class<Enum<?>> enumClass)
public SerializableString serializedValueFor(Enum<?> key)
public Collection<SerializableString> values()
public EnumMap<?,SerializableString> internalMap()
Copyright © 2014-2015 FasterXML. All Rights Reserved.