ValueInstantiator instances.
Implemented when an object wants to provide custom value instantiators,
usually to support custom value types with alternate constructors, or
which need specified post-processing after construction but before
binding data.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ValueInstantiators.
Basic "NOP" implementation that can be used as the base class for custom implementations. |
| Modifier and Type | Method and Description |
|---|---|
| public ValueInstantiator | Returns: Instantiator to use; eitherdefaultInstantiator that was passed,
or a custom variant; cannot be null.Deserialization configuration in use config, BeanDescription Additional information about POJO type to be instantiated beanDesc, ValueInstantiator Instantiator that will be used if no changes are made;
passed to allow custom instances to use annotation-provided information
(note, however, that earlier defaultInstantiator)ValueInstantiators may have changed it to
a custom instantiator already)Method called to find the |
| findValueInstantiator | back to summary |
|---|---|
| public ValueInstantiator findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Method called to find the
| |
ValueInstantiators) in case later
Jackson versions add new methods in base interface.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueInstantiator | findValueInstantiator(DeserializationConfig
Deserialization configuration in use config, BeanDescription Additional information about POJO type to be instantiated beanDesc, ValueInstantiator Instantiator that will be used if no changes are made;
passed to allow custom instances to use annotation-provided information
(note, however, that earlier defaultInstantiator)ValueInstantiators may have changed it to
a custom instantiator already)Implements com. Method called to find the |
| Base | back to summary |
|---|---|
| public Base() | |
| findValueInstantiator | back to summary |
|---|---|
| public ValueInstantiator findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Implements com. Doc from com. Method called to find the
| |