| Modifier and Type | Field and Description |
|---|---|
| protected CoercionAction | _defaultAction
Global default for cases not explicitly covered |
| protected final MutableCoercionConfig | _defaultCoercions
Default coercion definitions used if no overrides found by logical or physical type. |
| protected Map | _perClassCoercions
Coercion definitions by physical type (Class). |
| protected MutableCoercionConfig[] | _perTypeCoercions
Coercion definitions by logical type ( |
| private static final long | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | CoercionConfigs(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions)
|
| Modifier and Type | Method and Description |
|---|---|
| private static MutableCoercionConfig | |
| protected boolean | |
| public CoercionConfigs | Returns: A non-shared copy of configuration settingsMethod called to create a non-shared copy of configuration settings,
to be used by another |
| public MutableCoercionConfig | |
| public CoercionAction | Returns: CoercionAction configured for specified coercionCurrently active deserialization configuration config, LogicalType Logical target type of coercion targetType, Class<?> Physical target type of coercion targetClass, CoercionInputShape Input shape to coerce from inputShape)General-purpose accessor for finding what to do when specified coercion from shape that is now always allowed to be coerced from is requested. |
| public CoercionAction | Returns: CoercionAction configured for specified coercion from blank stringCurrently active deserialization configuration config, LogicalType Logical target type of coercion targetType, Class<?> Physical target type of coercion targetClass, CoercionAction Return value to use in case "blanks as empty"
is not allowed actionIfBlankNotAllowed)More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one). |
| public MutableCoercionConfig | |
| public MutableCoercionConfig |
| _defaultAction | back to summary |
|---|---|
| protected CoercionAction _defaultAction Global default for cases not explicitly covered | |
| _defaultCoercions | back to summary |
|---|---|
| protected final MutableCoercionConfig _defaultCoercions Default coercion definitions used if no overrides found by logical or physical type. | |
| _perClassCoercions | back to summary |
|---|---|
| protected Map<Class<?>, MutableCoercionConfig> _perClassCoercions Coercion definitions by physical type (Class). | |
| _perTypeCoercions | back to summary |
|---|---|
| protected MutableCoercionConfig[] _perTypeCoercions Coercion definitions by logical type ( | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TARGET_TYPE_COUNT | back to summary |
|---|---|
| private static final int TARGET_TYPE_COUNT | |
| CoercionConfigs | back to summary |
|---|---|
| public CoercionConfigs() | |
| CoercionConfigs | back to summary |
|---|---|
| protected CoercionConfigs(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions) | |
| _copy | back to summary |
|---|---|
| private static MutableCoercionConfig _copy(MutableCoercionConfig src) | |
| _isScalarType | back to summary |
|---|---|
| protected boolean _isScalarType(LogicalType targetType) | |
| copy | back to summary |
|---|---|
| public CoercionConfigs copy() Method called to create a non-shared copy of configuration settings,
to be used by another
| |
| defaultCoercions | back to summary |
|---|---|
| public MutableCoercionConfig defaultCoercions() | |
| findCoercion | back to summary |
|---|---|
| public CoercionAction findCoercion(DeserializationConfig config, LogicalType targetType, Class<?> targetClass, CoercionInputShape inputShape) General-purpose accessor for finding what to do when specified coercion from shape that is now always allowed to be coerced from is requested.
| |
| findCoercionFromBlankString | back to summary |
|---|---|
| public CoercionAction findCoercionFromBlankString(DeserializationConfig config, LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank
String (one consisting of only white space characters with length of at least one).
Will basically first determine if "blank as empty" is allowed: if not,
returns
| |
| findOrCreateCoercion | back to summary |
|---|---|
| public MutableCoercionConfig findOrCreateCoercion(LogicalType type) | |
| findOrCreateCoercion | back to summary |
|---|---|
| public MutableCoercionConfig findOrCreateCoercion(Class<?> type) | |