public final class EnumValues extends Object
Modifier and Type | Method and Description |
---|---|
static EnumValues |
construct(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |
static EnumValues |
constructFromName(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |
static EnumValues |
constructFromToString(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |
SerializedString |
serializedValueFor(Enum<?> key) |
String |
valueFor(Enum<?> key)
Deprecated.
since 1.7, use
serializedValueFor(java.lang.Enum<?>) instead |
Collection<SerializedString> |
values() |
public static EnumValues construct(Class<Enum<?>> enumClass, AnnotationIntrospector intr)
public static EnumValues constructFromName(Class<Enum<?>> enumClass, AnnotationIntrospector intr)
public static EnumValues constructFromToString(Class<Enum<?>> enumClass, AnnotationIntrospector intr)
@Deprecated public String valueFor(Enum<?> key)
serializedValueFor(java.lang.Enum<?>)
insteadpublic SerializedString serializedValueFor(Enum<?> key)
public Collection<SerializedString> values()