| Modifier and Type | Field and Description |
|---|---|
| protected AnnotatedConstructor | _annotated
Serializable version of single-arg constructor we use for value instantiation. |
| protected final transient Constructor | _creator
Constructor used when deserializing this property. |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | InnerClassProperty(SettableBeanProperty src, AnnotatedConstructor ann)
Constructor used with JDK Serialization; needed to handle transient Constructor, wrap/unwrap in/out-of Annotated variant. |
| Modifier and Type | Method and Description |
|---|---|
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object bean)
Overrides tools. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. |
| public Object | deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)
Overrides tools. Alternative to |
| protected SettableBeanProperty | withDelegate(SettableBeanProperty d)
Implements abstract tools. Method sub-classes must implement, to construct a new instance with given delegate. |
| _annotated | back to summary |
|---|---|
| protected AnnotatedConstructor _annotated Serializable version of single-arg constructor we use for value instantiation. | |
| _creator | back to summary |
|---|---|
| protected final transient Constructor<?> _creator Constructor used when deserializing this property. Transient since there is no need to persist; only needed during construction of objects. | |
| InnerClassProperty | back to summary |
|---|---|
| public InnerClassProperty(SettableBeanProperty delegate, Constructor<?> ctor) | |
| InnerClassProperty | back to summary |
|---|---|
| protected InnerClassProperty(SettableBeanProperty src, AnnotatedConstructor ann) Constructor used with JDK Serialization; needed to handle transient Constructor, wrap/unwrap in/out-of Annotated variant. | |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object bean) throws JacksonException Overrides tools. Doc from tools. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. Pre-condition is that passed parser must point to the first token that should be consumed to produce the value (the only value for scalars, multiple for Objects and Arrays).
| |
| deserializeSetAndReturn | back to summary |
|---|---|
| public Object deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) throws JacksonException Overrides tools. Doc from tools. Alternative to
| |
| withDelegate | back to summary |
|---|---|
| protected SettableBeanProperty withDelegate(SettableBeanProperty d) Implements abstract tools. Doc from tools. Method sub-classes must implement, to construct a new instance with given delegate.
| |