public class SettableAnyProperty
extends java.lang.Object
implements java.io.Serializable
!!! Note: might make sense to refactor to share some code
with SettableBeanProperty
?
Constructor and Description |
---|
SettableAnyProperty(BeanProperty property,
AnnotatedMember setter,
JavaType type,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer typeDeser)
Deprecated.
|
SettableAnyProperty(BeanProperty property,
AnnotatedMember setter,
JavaType type,
KeyDeserializer keyDeser,
JsonDeserializer<java.lang.Object> valueDeser,
TypeDeserializer typeDeser) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(JsonParser p,
DeserializationContext ctxt) |
void |
deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
java.lang.Object instance,
java.lang.String propName)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate method (a setter method).
|
void |
fixAccess(DeserializationConfig config) |
BeanProperty |
getProperty() |
JavaType |
getType() |
boolean |
hasValueDeserializer() |
void |
set(java.lang.Object instance,
java.lang.Object propName,
java.lang.Object value) |
java.lang.String |
toString() |
SettableAnyProperty |
withValueDeserializer(JsonDeserializer<java.lang.Object> deser) |
public SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer typeDeser)
@Deprecated public SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer typeDeser)
public SettableAnyProperty withValueDeserializer(JsonDeserializer<java.lang.Object> deser)
public void fixAccess(DeserializationConfig config)
public BeanProperty getProperty()
public boolean hasValueDeserializer()
public JavaType getType()
public final void deserializeAndSet(JsonParser p, DeserializationContext ctxt, java.lang.Object instance, java.lang.String propName) throws java.io.IOException
java.io.IOException
public java.lang.Object deserialize(JsonParser p, DeserializationContext ctxt) throws java.io.IOException
java.io.IOException
public void set(java.lang.Object instance, java.lang.Object propName, java.lang.Object value) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved