static final class StdKeyDeserializer.EnumKD extends StdKeyDeserializer
StdKeyDeserializer.DelegatingKD, StdKeyDeserializer.EnumKD, StdKeyDeserializer.StringCtorKeyDeserializer, StdKeyDeserializer.StringFactoryKeyDeserializer, StdKeyDeserializer.StringKD
KeyDeserializer.None
Modifier and Type | Field and Description |
---|---|
protected EnumResolver |
_byNameResolver |
protected EnumResolver |
_byToStringResolver
Lazily constructed alternative in case there is need to
use 'toString()' method as the source.
|
protected AnnotatedMethod |
_factory |
private static long |
serialVersionUID |
_deser, _keyClass, _kind, TYPE_BOOLEAN, TYPE_BYTE, TYPE_CALENDAR, TYPE_CHAR, TYPE_CLASS, TYPE_CURRENCY, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LOCALE, TYPE_LONG, TYPE_SHORT, TYPE_URI, TYPE_URL, TYPE_UUID
Modifier | Constructor and Description |
---|---|
protected |
EnumKD(EnumResolver er,
AnnotatedMethod factory) |
Modifier and Type | Method and Description |
---|---|
private EnumResolver |
_getToStringResolver() |
java.lang.Object |
_parse(java.lang.String key,
DeserializationContext ctxt) |
_parseDouble, _parseInt, _parseLong, deserializeKey, forType, getKeyClass
private static final long serialVersionUID
protected final EnumResolver _byNameResolver
protected final AnnotatedMethod _factory
protected EnumResolver _byToStringResolver
protected EnumKD(EnumResolver er, AnnotatedMethod factory)
public java.lang.Object _parse(java.lang.String key, DeserializationContext ctxt) throws JsonMappingException
_parse
in class StdKeyDeserializer
JsonMappingException
private EnumResolver _getToStringResolver()