Note
starting with 2.14, is abstract class with multiple
concrete implementations
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| protected static class | |
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final KeyDeserializer | |
| protected final BeanProperty | _property
Method used for setting "any" properties, along with annotation information. |
| protected final AnnotatedMember | _setter
Annotated variant is needed for JDK serialization only |
| protected final boolean | |
| protected final JavaType | |
| protected JsonDeserializer | |
| protected final TypeDeserializer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
|
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected void | _throwAsIOE(Exception
Exception to re-throw or wrap e, Object Name of property (from Json input) to set propName, Object Value of the property value)
|
| public static SettableAnyProperty | constructForJsonNodeField(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser)
|
| public static SettableAnyProperty | constructForMapField(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
|
| public static SettableAnyProperty | constructForMethod(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
|
| public Object | |
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName)
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method). |
| public void | |
| private String | |
| public BeanProperty | |
| public String | |
| public JavaType | |
| public boolean | |
| pack-priv Object | |
| public void | |
| public String | |
| public abstract SettableAnyProperty |
| _keyDeserializer | back to summary |
|---|---|
protected final KeyDeserializer _keyDeserializer
| |
| _property | back to summary |
|---|---|
| protected final BeanProperty _property Method used for setting "any" properties, along with annotation information. Retained to allow contextualization of any properties. | |
| _setter | back to summary |
|---|---|
| protected final AnnotatedMember _setter Annotated variant is needed for JDK serialization only | |
| _setterIsField | back to summary |
|---|---|
| protected final boolean _setterIsField | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| _valueDeserializer | back to summary |
|---|---|
| protected JsonDeserializer<Object> _valueDeserializer | |
| _valueTypeDeserializer | back to summary |
|---|---|
| protected final TypeDeserializer _valueTypeDeserializer | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SettableAnyProperty | back to summary |
|---|---|
| public SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) | |
| _set | back to summary |
|---|---|
| protected abstract void _set(Object instance, Object propName, Object value) throws Exception | |
| _throwAsIOE | back to summary |
|---|---|
| protected void _throwAsIOE(Exception e, Object propName, Object value) throws IOException | |
| constructForJsonNodeField | back to summary |
|---|---|
public static SettableAnyProperty constructForJsonNodeField(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser)
| |
| constructForMapField | back to summary |
|---|---|
public static SettableAnyProperty constructForMapField(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
| |
| constructForMethod | back to summary |
|---|---|
public static SettableAnyProperty constructForMethod(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
| |
| deserialize | back to summary |
|---|---|
| public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException | |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws IOException Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method). | |
| fixAccess | back to summary |
|---|---|
| public void fixAccess(DeserializationConfig config) | |
| getClassName | back to summary |
|---|---|
| private String getClassName() | |
| getProperty | back to summary |
|---|---|
| public BeanProperty getProperty() | |
| getPropertyName | back to summary |
|---|---|
public String getPropertyName()
| |
| getType | back to summary |
|---|---|
| public JavaType getType() | |
| hasValueDeserializer | back to summary |
|---|---|
| public boolean hasValueDeserializer() | |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() Need to define this to verify that we retain actual Method reference | |
| set | back to summary |
|---|---|
| public void set(Object instance, Object propName, Object value) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| withValueDeserializer | back to summary |
|---|---|
| public abstract SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser) | |
| Modifier and Type | Field and Description |
|---|---|
| private final SettableAnyProperty | |
| private final Object | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | AnySetterReferring(SettableAnyProperty parent, UnresolvedForwardReference reference, Class<?> type, Object instance, String propName)
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| _parent | back to summary |
|---|---|
| private final SettableAnyProperty _parent | |
| _pojo | back to summary |
|---|---|
| private final Object _pojo | |
| _propName | back to summary |
|---|---|
| private final String _propName | |
| AnySetterReferring | back to summary |
|---|---|
| public AnySetterReferring(SettableAnyProperty parent, UnresolvedForwardReference reference, Class<?> type, Object instance, String propName) | |
| handleResolvedForwardReference | back to summary |
|---|---|
| public void handleResolvedForwardReference(Object id, Object value) throws IOException Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final JsonNodeFactory | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | JsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | _set(Object instance, Object propName, Object value)
Implements abstract com. |
| public Object | |
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName)
Overrides com. |
| protected void | |
| public SettableAnyProperty | withValueDeserializer(JsonDeserializer<Object> deser)
Implements abstract com. |
| _nodeFactory | back to summary |
|---|---|
| protected final JsonNodeFactory _nodeFactory | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| JsonNodeFieldAnyProperty | back to summary |
|---|---|
| public JsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) | |
| _set | back to summary |
|---|---|
| protected void _set(Object instance, Object propName, Object value) throws Exception Implements abstract com.
| |
| deserialize | back to summary |
|---|---|
| public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException Overrides com.
| |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws IOException Overrides com. Doc from com. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).
| |
| setProperty | back to summary |
|---|---|
| protected void setProperty(Object instance, String propName, JsonNode value) throws IOException | |
| withValueDeserializer | back to summary |
|---|---|
| public SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ValueInstantiator | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MapFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst)
|
| Modifier and Type | Method and Description |
|---|---|
| protected Map | _createAndSetMap(DeserializationContext ctxt, AnnotatedField field, Object instance, Object propName)
|
| protected void | _set(Object instance, Object propName, Object value)
Implements abstract com. |
| public SettableAnyProperty | withValueDeserializer(JsonDeserializer<Object> deser)
Implements abstract com. |
| _valueInstantiator | back to summary |
|---|---|
| protected final ValueInstantiator _valueInstantiator | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| MapFieldAnyProperty | back to summary |
|---|---|
| public MapFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst) | |
| _createAndSetMap | back to summary |
|---|---|
protected Map
| |
| _set | back to summary |
|---|---|
| protected void _set(Object instance, Object propName, Object value) throws Exception Implements abstract com.
| |
| withValueDeserializer | back to summary |
|---|---|
| public SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MethodAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | _set(Object instance, Object propName, Object value)
Implements abstract com. |
| public SettableAnyProperty | withValueDeserializer(JsonDeserializer<Object> deser)
Implements abstract com. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| MethodAnyProperty | back to summary |
|---|---|
| public MethodAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) | |
| _set | back to summary |
|---|---|
| protected void _set(Object instance, Object propName, Object value) throws Exception Implements abstract com.
| |
| withValueDeserializer | back to summary |
|---|---|
| public SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser) Implements abstract com.
| |