org.codehaus.jackson.map.deser
Class SettableBeanProperty.SetterlessProperty

java.lang.Object
  extended by org.codehaus.jackson.map.deser.SettableBeanProperty
      extended by org.codehaus.jackson.map.deser.SettableBeanProperty.SetterlessProperty
Enclosing class:
SettableBeanProperty

public static final class SettableBeanProperty.SetterlessProperty
extends SettableBeanProperty

This concrete sub-class implements Collection or Map property that is indirectly by getting the property value and directly modifying it.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.deser.SettableBeanProperty
SettableBeanProperty.CreatorProperty, SettableBeanProperty.FieldProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.SetterlessProperty
 
Field Summary
protected  Method _getter
          Get method for accessing property value used to access property (of Collection or Map type) to modify.
 
Fields inherited from class org.codehaus.jackson.map.deser.SettableBeanProperty
_nullValue, _valueDeserializer
 
Constructor Summary
SettableBeanProperty.SetterlessProperty(String propName, JavaType type, Method getter)
           
 
Method Summary
 void deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)
          Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism
protected  Class<?> getDeclaringClass()
           
 void set(Object instance, Object value)
           
 
Methods inherited from class org.codehaus.jackson.map.deser.SettableBeanProperty
_throwAsIOE, _throwAsIOE, deserialize, getCreatorIndex, getPropertyName, getType, hasValueDeserializer, setValueDeserializer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_getter

protected final Method _getter
Get method for accessing property value used to access property (of Collection or Map type) to modify.

Constructor Detail

SettableBeanProperty.SetterlessProperty

public SettableBeanProperty.SetterlessProperty(String propName,
                                               JavaType type,
                                               Method getter)
Method Detail

getDeclaringClass

protected Class<?> getDeclaringClass()
Specified by:
getDeclaringClass in class SettableBeanProperty

deserializeAndSet

public final void deserializeAndSet(JsonParser jp,
                                    DeserializationContext ctxt,
                                    Object instance)
                             throws IOException,
                                    JsonProcessingException
Description copied from class: SettableBeanProperty
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism

Specified by:
deserializeAndSet in class SettableBeanProperty
Throws:
IOException
JsonProcessingException

set

public final void set(Object instance,
                      Object value)
               throws IOException
Specified by:
set in class SettableBeanProperty
Throws:
IOException