com.fasterxml.jackson.datatype.guava.deser
Class ImmutableSortedSetDeserializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonDeserializer<T>
      extended by com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
          extended by com.fasterxml.jackson.datatype.guava.deser.GuavaCollectionDeserializer<T>
              extended by com.fasterxml.jackson.datatype.guava.deser.ImmutableSortedSetDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer

public class ImmutableSortedSetDeserializer
extends GuavaCollectionDeserializer<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
 
Field Summary
 
Fields inherited from class com.fasterxml.jackson.datatype.guava.deser.GuavaCollectionDeserializer
_containerType, _typeDeserializerForValue, _valueDeserializer
 
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass
 
Constructor Summary
ImmutableSortedSetDeserializer(com.fasterxml.jackson.databind.type.CollectionType type, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser, com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
           
 
Method Summary
protected  T _deserializeContents(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
protected  com.google.common.collect.ImmutableCollection.Builder<Object> createBuilder()
           
 ImmutableSortedSetDeserializer withResolved(com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser, com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser)
          Overridable fluent factory method used for creating contextual instances.
 
Methods inherited from class com.fasterxml.jackson.datatype.guava.deser.GuavaCollectionDeserializer
createContextual, deserialize, deserializeWithType
 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
 
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, unwrappingDeserializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableSortedSetDeserializer

public ImmutableSortedSetDeserializer(com.fasterxml.jackson.databind.type.CollectionType type,
                                      com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
                                      com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
Method Detail

withResolved

public ImmutableSortedSetDeserializer withResolved(com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
                                                   com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser)
Description copied from class: GuavaCollectionDeserializer
Overridable fluent factory method used for creating contextual instances.

Specified by:
withResolved in class GuavaCollectionDeserializer<com.google.common.collect.ImmutableSortedSet<Object>>

createBuilder

protected com.google.common.collect.ImmutableCollection.Builder<Object> createBuilder()

_deserializeContents

protected T _deserializeContents(com.fasterxml.jackson.core.JsonParser jp,
                                 com.fasterxml.jackson.databind.DeserializationContext ctxt)
                                                                                        throws IOException,
                                                                                               com.fasterxml.jackson.core.JsonProcessingException
Specified by:
_deserializeContents in class GuavaCollectionDeserializer<T extends com.google.common.collect.ImmutableCollection<Object>>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2012 fasterxml.com. All Rights Reserved.