org.codehaus.jackson.map.deser
Class StdKeyDeserializer
java.lang.Object
org.codehaus.jackson.map.KeyDeserializer
org.codehaus.jackson.map.deser.StdKeyDeserializer
public abstract class StdKeyDeserializer
- extends KeyDeserializer
Base class for simple key deserializers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdKeyDeserializer
protected StdKeyDeserializer(Class<?> cls)
deserializeKey
public final Object deserializeKey(String key,
DeserializationContext ctxt)
throws IOException,
JsonProcessingException
- Specified by:
deserializeKey
in class KeyDeserializer
- Throws:
IOException
JsonProcessingException
getKeyClass
public Class<?> getKeyClass()
_parse
protected abstract Object _parse(String key,
DeserializationContext ctxt)
throws Exception
- Throws:
Exception
_parseInt
protected int _parseInt(String key)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
_parseLong
protected long _parseLong(String key)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
_parseDouble
protected double _parseDouble(String key)
throws IllegalArgumentException
- Throws:
IllegalArgumentException