public final class SerializerFactoryConfig extends Object implements Serializable
SerializerFactory
implementations.Modifier and Type | Field and Description |
---|---|
protected Serializers[] |
_additionalKeySerializers
List of providers for additional key serializers, checked before considering default
key serialializers.
|
protected Serializers[] |
_additionalSerializers
List of providers for additional serializers, checked before considering default
basic or bean serialializers.
|
protected BeanSerializerModifier[] |
_modifiers
List of modifiers that can change the way
BeanSerializer instances
are configured and constructed. |
protected static BeanSerializerModifier[] |
NO_MODIFIERS |
protected static Serializers[] |
NO_SERIALIZERS
Constant for empty
Serializers array (which by definition
is stateless and reusable) |
Modifier | Constructor and Description |
---|---|
|
SerializerFactoryConfig() |
protected |
SerializerFactoryConfig(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasKeySerializers() |
boolean |
hasSerializerModifiers() |
boolean |
hasSerializers() |
Iterable<Serializers> |
keySerializers() |
Iterable<BeanSerializerModifier> |
serializerModifiers() |
Iterable<Serializers> |
serializers() |
SerializerFactoryConfig |
withAdditionalKeySerializers(Serializers additional) |
SerializerFactoryConfig |
withAdditionalSerializers(Serializers additional) |
SerializerFactoryConfig |
withSerializerModifier(BeanSerializerModifier modifier) |
protected static final Serializers[] NO_SERIALIZERS
Serializers
array (which by definition
is stateless and reusable)protected static final BeanSerializerModifier[] NO_MODIFIERS
protected final Serializers[] _additionalSerializers
protected final Serializers[] _additionalKeySerializers
protected final BeanSerializerModifier[] _modifiers
BeanSerializer
instances
are configured and constructed.public SerializerFactoryConfig()
protected SerializerFactoryConfig(Serializers[] allAdditionalSerializers, Serializers[] allAdditionalKeySerializers, BeanSerializerModifier[] modifiers)
public SerializerFactoryConfig withAdditionalSerializers(Serializers additional)
public SerializerFactoryConfig withAdditionalKeySerializers(Serializers additional)
public SerializerFactoryConfig withSerializerModifier(BeanSerializerModifier modifier)
public boolean hasSerializers()
public boolean hasKeySerializers()
public boolean hasSerializerModifiers()
public Iterable<Serializers> serializers()
public Iterable<Serializers> keySerializers()
public Iterable<BeanSerializerModifier> serializerModifiers()
Copyright © 2008–2016 FasterXML. All rights reserved.