Class RestListDeserializer


  • public class RestListDeserializer
    extends org.codehaus.jackson.map.deser.std.ContainerDeserializerBase
    Deserializer for RestList. A deserializer is constructed for each generified type of RestList. The contentDeserializer is specific to the element types contained in the list. It is looked up in CustomSerializerModuleFactory when the CollectionDeserializer is provided.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        org.codehaus.jackson.map.deser.std.StdDeserializer.BigDecimalDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BigIntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BooleanDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.ByteDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.CharacterDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.DoubleDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.FloatDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.IntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.LongDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.NumberDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.PrimitiveOrWrapperDeserializer<T extends Object>, org.codehaus.jackson.map.deser.std.StdDeserializer.ShortDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.SqlDateDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.StackTraceElementDeserializer
      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer

        org.codehaus.jackson.map.JsonDeserializer.None
    • Field Summary

      • Fields inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        _valueClass
    • Constructor Summary

      Constructors 
      Constructor Description
      RestListDeserializer​(org.codehaus.jackson.map.JsonDeserializer elementDeserializer, org.codehaus.jackson.type.JavaType contentType, org.codehaus.jackson.map.TypeDeserializer elementTypeDeserializer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PageResponse deserialize​(org.codehaus.jackson.JsonParser jsonParser, org.codehaus.jackson.map.DeserializationContext deserializationContext)  
      org.codehaus.jackson.map.JsonDeserializer<Object> getContentDeserializer()  
      org.codehaus.jackson.type.JavaType getContentType()  
      • Methods inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        _parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, deserializeWithType, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
      • Methods inherited from class org.codehaus.jackson.map.JsonDeserializer

        deserialize, getEmptyValue, getNullValue, unwrappingDeserializer
    • Constructor Detail

      • RestListDeserializer

        public RestListDeserializer​(org.codehaus.jackson.map.JsonDeserializer elementDeserializer,
                                    org.codehaus.jackson.type.JavaType contentType,
                                    org.codehaus.jackson.map.TypeDeserializer elementTypeDeserializer)
    • Method Detail

      • getContentType

        public org.codehaus.jackson.type.JavaType getContentType()
        Specified by:
        getContentType in class org.codehaus.jackson.map.deser.std.ContainerDeserializerBase
      • getContentDeserializer

        public org.codehaus.jackson.map.JsonDeserializer<Object> getContentDeserializer()
        Specified by:
        getContentDeserializer in class org.codehaus.jackson.map.deser.std.ContainerDeserializerBase
      • deserialize

        public PageResponse deserialize​(org.codehaus.jackson.JsonParser jsonParser,
                                        org.codehaus.jackson.map.DeserializationContext deserializationContext)
                                 throws IOException
        Specified by:
        deserialize in class org.codehaus.jackson.map.JsonDeserializer
        Throws:
        IOException