|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.cfg.SerializerFactoryConfig
public final class SerializerFactoryConfig
Configuration settings container class for
SerializerFactory
implementations.
Field Summary | |
---|---|
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) |
Constructor Summary | |
---|---|
|
SerializerFactoryConfig()
|
protected |
SerializerFactoryConfig(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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.
Constructor Detail |
---|
public SerializerFactoryConfig()
protected SerializerFactoryConfig(Serializers[] allAdditionalSerializers, Serializers[] allAdditionalKeySerializers, BeanSerializerModifier[] modifiers)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |