public final class PropertyBasedCreator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
build(DeserializationContext ctxt,
PropertyValueBuffer buffer) |
static PropertyBasedCreator |
construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps)
Deprecated.
|
static PropertyBasedCreator |
construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps,
BeanPropertyMap allProperties)
Factory method used for building actual instances to be used with POJOS:
resolves deserializers, checks for "null values".
|
static PropertyBasedCreator |
construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcCreatorProps,
boolean caseInsensitive)
Factory method used for building actual instances to be used with types
OTHER than POJOs.
|
SettableBeanProperty |
findCreatorProperty(int propertyIndex) |
SettableBeanProperty |
findCreatorProperty(java.lang.String name) |
java.util.Collection<SettableBeanProperty> |
properties() |
PropertyValueBuffer |
startBuilding(JsonParser p,
DeserializationContext ctxt,
ObjectIdReader oir)
Method called when starting to build a bean instance.
|
public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, BeanPropertyMap allProperties) throws JsonMappingException
JsonMappingException
public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, boolean caseInsensitive) throws JsonMappingException
JsonMappingException
@Deprecated public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps) throws JsonMappingException
JsonMappingException
public java.util.Collection<SettableBeanProperty> properties()
public SettableBeanProperty findCreatorProperty(java.lang.String name)
public SettableBeanProperty findCreatorProperty(int propertyIndex)
public PropertyValueBuffer startBuilding(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir)
public java.lang.Object build(DeserializationContext ctxt, PropertyValueBuffer buffer) throws java.io.IOException
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved