| Modifier and Type | Field and Description |
|---|---|
| protected final ContextAttributes | _attributes
Contextual attributes accessible (get and set) during processing, on per-call basis. |
| protected final ConfigOverrides | _configOverrides
Configuration overrides to apply, keyed by type of property. |
| protected final DatatypeFeatures | _datatypeFeatures
Set of |
| protected final SimpleMixInResolver | _mixIns
Mix-in annotation mappings to use, if any: immutable, cannot be changed once defined. |
| protected final PropertyName | _rootName
Explicitly defined root name to use, if any; if empty String, will disable root-name wrapping; if null, will use defaults |
| protected final RootNameLookup | _rootNames
Simple cache used for finding out possible root name for root name wrapping. |
| protected final SubtypeResolver | _subtypeResolver
Registered concrete subtypes that can be used instead of (or in addition to) ones declared using annotations. |
| protected final Class | _view
View to use for filtering out properties to serialize or deserialize. |
| private static final long | |
| private static final long | |
| protected static final ConfigOverride |
| Access | Constructor and Description |
|---|---|
| protected | MapperConfigBase(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, DatatypeFeatures datatypeFeatures)
Constructor used when creating a new instance (compared to that of creating fluent copies) |
| protected | MapperConfigBase(MapperConfigBase<CFG, T> src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides)
Copy constructor usually called to make a copy for use by ObjectMapper that is copied. |
| protected | MapperConfigBase(MapperConfigBase<CFG, T> src)
Pass-through constructor used when no changes are needed to the base class. |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected DatatypeFeatures | |
| protected abstract T | |
| protected abstract T | |
| protected abstract T | |
| public ClassIntrospector. | copy()
Implements com. Method called to create a new, non-shared copy, to be used by different
|
| public final ConfigOverride | findConfigOverride(Class<?> type)
Implements abstract com. Accessor for finding |
| public final Class | findMixInClassFor(Class<?> cls)
Implements com. Method that will check if there are "mix-in" classes (with mix-in annotations) for given class |
| public PropertyName | findRootName(JavaType rootType)
Implements abstract com.
|
| public PropertyName | findRootName(Class<?> rawRootType)
Implements abstract com.
|
| public final Class | getActiveView()
Implements abstract com. Accessor for finding currently active view, if any (null if none) |
| public final ContextAttributes | getAttributes()
Implements abstract com. Method for accessing per-instance shared (baseline/default) attribute values; these are used as the basis for per-call attributes. |
| public final ConfigOverride | getConfigOverride(Class<?> type)
Implements abstract com. Accessor for finding |
| public final DatatypeFeatures | getDatatypeFeatures()
Implements abstract com.
|
| public final JsonInclude. | getDefaultInclusion(Class<?>
Type of the instance containing the targeted property. baseType, Class<?> Type of the property to look up inclusion setting for. propertyType)Implements abstract com. Accessor for default property inclusion to use for serialization, considering possible per-type override for given base type and possible per-type override for given property type. |
| public Boolean | getDefaultMergeable()
Implements abstract com. Accessor for the baseline merge info used as the global baseline, not considering possible per-type overrides. |
| public Boolean | getDefaultMergeable(Class<?> baseType)
Implements abstract com. Accessor for the baseline merge info used for given type, including global defaults if no type-specific overrides defined. |
| public final JsonFormat. | getDefaultPropertyFormat(Class<?> type)
Implements abstract com. Accessor for default format settings to use for serialization (and, to a degree deserialization), considering baseline settings and per-type defaults for given base type (if any). |
| public final JsonIgnoreProperties. | getDefaultPropertyIgnorals(Class<?> type)
Implements abstract com. Accessor for default property ignorals to use, if any, for given base type,
based on config overrides settings (see |
| public final JsonIgnoreProperties. | getDefaultPropertyIgnorals(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. Helper method that may be called to see if there are property ignoral
definitions from annotations (via |
| public final JsonInclude. | getDefaultPropertyInclusion()
Implements abstract com. Accessor for default property inclusion to use for serialization, used unless overridden by per-type or per-property overrides. |
| public final JsonInclude. | getDefaultPropertyInclusion(Class<?> baseType)
Implements abstract com. Accessor for default property inclusion to use for serialization, considering possible per-type override for given base type. |
| public final JsonIncludeProperties. | getDefaultPropertyInclusions(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. Helper method that may be called to see if there are property inclusion
definitions from annotations (via |
| public final JsonSetter. | getDefaultSetterInfo()
Implements abstract com. Accessor for the baseline setter info used as the global baseline, not considering possible per-type overrides. |
| public final VisibilityChecker | getDefaultVisibilityChecker()
Implements abstract com. Accessor for object used for determining whether specific property elements (method, constructors, fields) can be auto-detected based on their visibility (access modifiers). |
| public final VisibilityChecker | getDefaultVisibilityChecker(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. Accessor for object used for determining whether specific property elements (method, constructors, fields) can be auto-detected based on their visibility (access modifiers). |
| public final PropertyName | |
| public final String | |
| public final SubtypeResolver | getSubtypeResolver()
Implements abstract com. Accessor for object used for finding out all reachable subtypes for supertypes; needed when a logical type name is used instead of class name (or custom scheme). |
| public final int | mixInCount()
Test-only method -- does not reflect possibly open-ended set that external mix-in resolver might provide. |
| public final T | with(MapperFeature... features)
Implements abstract com. Fluent factory method that will construct and return a new configuration object instance with specified features enabled. |
| public final T | with(MapperFeature feature, boolean state)
Implements abstract com.
|
| public final T | with(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature enabled: this may be
|
| public final T | with(DatatypeFeature feature, boolean state)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
| public final T | with(AnnotationIntrospector ai)
Method for constructing and returning a new instance with different
|
| public final T | with(ClassIntrospector ci)
Method for constructing and returning a new instance with different
|
| public abstract T | with(ContextAttributes attrs)
Method for constructing an instance that has specified contextual attributes. |
| public final T | with(TypeFactory tf)
Method for constructing and returning a new instance with different
|
| public final T | with(TypeResolverBuilder<?> trb)
Method for constructing and returning a new instance with different
|
| public final T | with(PropertyNamingStrategy pns)
Method for constructing and returning a new instance with different
|
| public final T | with(AccessorNamingStrategy.
Method for constructing and returning a new instance with different
|
| public final T | with(HandlerInstantiator hi)
Method for constructing and returning a new instance with different
|
| public T | |
| public final T | with(Base64Variant base64)
Method for constructing and returning a new instance with different
default |
| public T | with(DateFormat df)
Method for constructing and returning a new instance with different
|
| public final T | with(Locale l)
Method for constructing and returning a new instance with different
default |
| public final T | with(TimeZone tz)
Method for constructing and returning a new instance with different
default |
| public abstract T | with(SubtypeResolver str)
Method for constructing and returning a new instance with different
|
| public final T | withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
|
| public T | withAttribute(Object key, Object value)
Method for constructing an instance that has specified value for attribute for given key. |
| public T | withAttributes(Map<?, ?> attributes)
Method for constructing an instance that has only specified attributes, removing any attributes that exist before the call. |
| public final T | withFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features enabled: this may be
|
| public final T | withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
|
| public final T | without(MapperFeature... features)
Implements abstract com. Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
| public final T | without(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature disabled: this may be
|
| public T | withoutAttribute(Object key)
Method for constructing an instance that has no value for attribute for given key. |
| public final T | withoutFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features disabled: this may be
|
| public abstract T | withRootName(PropertyName
to use: if null, means "use default" (clear setting);
if empty String ("") means that no root name wrapping is used;
otherwise defines root name to use. rootName)Method for constructing and returning a new instance with different root name to use (none, if null). |
| public T | |
| public abstract T |