Class AnySetterDeserializer<T,V>
java.lang.Object
org.dominokit.jacksonapt.deser.bean.HasDeserializer<V,S>
org.dominokit.jacksonapt.deser.bean.HasDeserializerAndParameters<V,JsonDeserializer<V>>
org.dominokit.jacksonapt.deser.bean.AnySetterDeserializer<T,V>
public abstract class AnySetterDeserializer<T,V> extends HasDeserializerAndParameters<V,JsonDeserializer<V>>
Deserializes a bean's property
- Version:
- $Id: $
- Author:
- Nicolas Morel
-
Constructor Summary
Constructors Constructor Description AnySetterDeserializer() -
Method Summary
Modifier and Type Method Description voiddeserialize(JsonReader reader, T bean, java.lang.String propertyName, JsonDeserializationContext ctx)Deserializes the property defined for this instance.abstract voidsetValue(T bean, java.lang.String propertyName, V value, JsonDeserializationContext ctx)setValueMethods inherited from class org.dominokit.jacksonapt.deser.bean.HasDeserializerAndParameters
deserialize, getParameters, newParametersMethods inherited from class org.dominokit.jacksonapt.deser.bean.HasDeserializer
getDeserializer, newDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AnySetterDeserializer
public AnySetterDeserializer()
-
-
Method Details
-
deserialize
public void deserialize(JsonReader reader, T bean, java.lang.String propertyName, JsonDeserializationContext ctx)Deserializes the property defined for this instance.- Parameters:
reader- readerbean- bean to set the deserialized property topropertyName- name of the propertyctx- context of the deserialization process
-
setValue
public abstract void setValue(T bean, java.lang.String propertyName, V value, JsonDeserializationContext ctx)setValue
- Parameters:
bean- a T object.propertyName- aStringobject.value- a V object.ctx- aJsonDeserializationContextobject.
-