public class CreatorCollector
extends java.lang.Object
Constructor and Description |
---|
CreatorCollector(BeanDescription beanDesc,
MapperConfig<?> config) |
Modifier and Type | Method and Description |
---|---|
void |
addBooleanCreator(AnnotatedWithParams creator,
boolean explicit) |
void |
addDelegatingCreator(AnnotatedWithParams creator,
boolean explicit,
SettableBeanProperty[] injectables,
int delegateeIndex) |
void |
addDoubleCreator(AnnotatedWithParams creator,
boolean explicit) |
void |
addIntCreator(AnnotatedWithParams creator,
boolean explicit) |
void |
addLongCreator(AnnotatedWithParams creator,
boolean explicit) |
void |
addPropertyCreator(AnnotatedWithParams creator,
boolean explicit,
SettableBeanProperty[] properties) |
void |
addStringCreator(AnnotatedWithParams creator,
boolean explicit) |
ValueInstantiator |
constructValueInstantiator(DeserializationContext ctxt) |
boolean |
hasDefaultCreator() |
boolean |
hasDelegatingCreator() |
boolean |
hasPropertyBasedCreator() |
void |
setDefaultCreator(AnnotatedWithParams creator)
Method called to indicate the default creator: no-arguments constructor
or factory method that is called to instantiate a value before populating
it with data.
|
public CreatorCollector(BeanDescription beanDesc, MapperConfig<?> config)
public ValueInstantiator constructValueInstantiator(DeserializationContext ctxt) throws JsonMappingException
JsonMappingException
public void setDefaultCreator(AnnotatedWithParams creator)
creator
- Creator method; no-arguments constructor or static factory
method.public void addStringCreator(AnnotatedWithParams creator, boolean explicit)
public void addIntCreator(AnnotatedWithParams creator, boolean explicit)
public void addLongCreator(AnnotatedWithParams creator, boolean explicit)
public void addDoubleCreator(AnnotatedWithParams creator, boolean explicit)
public void addBooleanCreator(AnnotatedWithParams creator, boolean explicit)
public void addDelegatingCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] injectables, int delegateeIndex)
public void addPropertyCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] properties)
public boolean hasDefaultCreator()
public boolean hasDelegatingCreator()
public boolean hasPropertyBasedCreator()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"