public static class BeanDeserializerFactory.ConfigImpl extends DeserializerFactory.Config
限定符和类型 | 字段和说明 |
---|---|
protected AbstractTypeResolver[] |
_abstractTypeResolvers
List of objects that may be able to resolve abstract types to
concrete types.
|
protected Deserializers[] |
_additionalDeserializers
List of providers for additional deserializers, checked before considering default
basic or bean deserializers.
|
protected KeyDeserializers[] |
_additionalKeyDeserializers
List of providers for additional key deserializers, checked before considering
standard key deserializers.
|
protected BeanDeserializerModifier[] |
_modifiers
List of modifiers that can change the way
BeanDeserializer instances
are configured and constructed. |
protected ValueInstantiators[] |
_valueInstantiators
List of objects that know how to create instances of POJO types;
possibly using custom construction (non-annoted constructors; factory
methods external to value type etc).
|
protected static AbstractTypeResolver[] |
NO_ABSTRACT_TYPE_RESOLVERS |
protected static KeyDeserializers[] |
NO_KEY_DESERIALIZERS |
protected static BeanDeserializerModifier[] |
NO_MODIFIERS |
protected static ValueInstantiators[] |
NO_VALUE_INSTANTIATORS |
限定符 | 构造器和说明 |
---|---|
|
BeanDeserializerFactory.ConfigImpl()
Constructor for creating basic configuration with no additional
handlers.
|
protected |
BeanDeserializerFactory.ConfigImpl(Deserializers[] allAdditionalDeserializers,
KeyDeserializers[] allAdditionalKeyDeserializers,
BeanDeserializerModifier[] modifiers,
AbstractTypeResolver[] atr,
ValueInstantiators[] vi)
Copy-constructor that will create an instance that contains defined
set of additional deserializer providers.
|
限定符和类型 | 方法和说明 |
---|---|
Iterable<AbstractTypeResolver> |
abstractTypeResolvers() |
Iterable<BeanDeserializerModifier> |
deserializerModifiers() |
Iterable<Deserializers> |
deserializers() |
boolean |
hasAbstractTypeResolvers() |
boolean |
hasDeserializerModifiers() |
boolean |
hasDeserializers() |
boolean |
hasKeyDeserializers() |
boolean |
hasValueInstantiators() |
Iterable<KeyDeserializers> |
keyDeserializers() |
Iterable<ValueInstantiators> |
valueInstantiators() |
DeserializerFactory.Config |
withAbstractTypeResolver(AbstractTypeResolver resolver)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus one additional
abstract type resolver.
|
DeserializerFactory.Config |
withAdditionalDeserializers(Deserializers additional)
Fluent/factory method used to construct a configuration object that
has same deserializer providers as this instance, plus one specified
as argument.
|
DeserializerFactory.Config |
withAdditionalKeyDeserializers(KeyDeserializers additional)
Fluent/factory method used to construct a configuration object that
has same key deserializer providers as this instance, plus one specified
as argument.
|
DeserializerFactory.Config |
withDeserializerModifier(BeanDeserializerModifier modifier)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus one additional
deserialiazer modifier.
|
DeserializerFactory.Config |
withValueInstantiators(ValueInstantiators instantiators)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus specified additional
value instantiator provider object.
|
protected static final KeyDeserializers[] NO_KEY_DESERIALIZERS
protected static final BeanDeserializerModifier[] NO_MODIFIERS
protected static final AbstractTypeResolver[] NO_ABSTRACT_TYPE_RESOLVERS
protected static final ValueInstantiators[] NO_VALUE_INSTANTIATORS
protected final Deserializers[] _additionalDeserializers
protected final KeyDeserializers[] _additionalKeyDeserializers
protected final BeanDeserializerModifier[] _modifiers
BeanDeserializer
instances
are configured and constructed.protected final AbstractTypeResolver[] _abstractTypeResolvers
protected final ValueInstantiators[] _valueInstantiators
public BeanDeserializerFactory.ConfigImpl()
protected BeanDeserializerFactory.ConfigImpl(Deserializers[] allAdditionalDeserializers, KeyDeserializers[] allAdditionalKeyDeserializers, BeanDeserializerModifier[] modifiers, AbstractTypeResolver[] atr, ValueInstantiators[] vi)
public DeserializerFactory.Config withAdditionalDeserializers(Deserializers additional)
DeserializerFactory.Config
public DeserializerFactory.Config withAdditionalKeyDeserializers(KeyDeserializers additional)
DeserializerFactory.Config
public DeserializerFactory.Config withDeserializerModifier(BeanDeserializerModifier modifier)
DeserializerFactory.Config
public DeserializerFactory.Config withAbstractTypeResolver(AbstractTypeResolver resolver)
DeserializerFactory.Config
public DeserializerFactory.Config withValueInstantiators(ValueInstantiators instantiators)
DeserializerFactory.Config
withValueInstantiators
在类中 DeserializerFactory.Config
instantiators
- Object that can provide ValueInstantiator
s for
constructing POJO values during deserializationpublic boolean hasDeserializers()
public boolean hasKeyDeserializers()
public boolean hasDeserializerModifiers()
public boolean hasAbstractTypeResolvers()
public boolean hasValueInstantiators()
public Iterable<Deserializers> deserializers()
deserializers
在类中 DeserializerFactory.Config
public Iterable<KeyDeserializers> keyDeserializers()
public Iterable<BeanDeserializerModifier> deserializerModifiers()
public Iterable<AbstractTypeResolver> abstractTypeResolvers()
public Iterable<ValueInstantiators> valueInstantiators()