ObjectMapper instance to be used for data binding, as
well as accessing it.
| Modifier and Type | Field and Description |
|---|---|
| protected MAPPER | _defaultMapper
If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed. |
| protected EnumMap | _deserFeatures
|
| protected AnnotationIntrospector | _instropectorOverride
|
| private final ReentrantLock | |
| protected MAPPER | _mapper
Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper. |
| protected EnumMap | _mapperFeatures
|
| protected EnumMap | _serFeatures
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected MapperBuilder | _builderWithConfiguration(MapperBuilder<?, ?> mapperBuilder)
Overridable helper method that applies all configuration on given builder. |
| protected MAPPER | _mapperWithConfiguration(MapperBuilder<?, ?> mapperBuilder)
Helper method that will configure given builder using configured overrides. |
| public final void | |
| public final void | |
| public MAPPER | |
| public MAPPER | |
| protected MAPPER | mapper()
Helper method that will ensure that there is a configurable non-default mapper (constructing an instance if one didn't yet exit), and return that mapper. |
| protected abstract MapperBuilder | |
| public final void | |
| public final void |
| _defaultMapper | back to summary |
|---|---|
| protected MAPPER _defaultMapper If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed. The difference between default mapper and regular one is that default mapper is only used if no mapper is found via provider lookup. | |
| _deserFeatures | back to summary |
|---|---|
| protected EnumMap<DeserializationFeature, Boolean> _deserFeatures
| |
| _instropectorOverride | back to summary |
|---|---|
| protected AnnotationIntrospector _instropectorOverride
| |
| _lock | back to summary |
|---|---|
| private final ReentrantLock _lock | |
| _mapper | back to summary |
|---|---|
| protected MAPPER _mapper Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper. If defined (explicitly or implicitly) it will be used, instead of using provider-based lookup. | |
| _mapperFeatures | back to summary |
|---|---|
| protected EnumMap<MapperFeature, Boolean> _mapperFeatures
| |
| _serFeatures | back to summary |
|---|---|
| protected EnumMap<SerializationFeature, Boolean> _serFeatures
| |
| MapperConfiguratorBase | back to summary |
|---|---|
| public MapperConfiguratorBase(MAPPER mapper, AnnotationIntrospector instropectorOverride) | |
| _builderWithConfiguration | back to summary |
|---|---|
| protected MapperBuilder Overridable helper method that applies all configuration on given builder. | |
| _mapperWithConfiguration | back to summary |
|---|---|
| protected MAPPER _mapperWithConfiguration(MapperBuilder<?, ?> mapperBuilder) Helper method that will configure given builder using configured overrides.
| |
| configure | back to summary |
|---|---|
| public final void configure(DeserializationFeature f, boolean state) | |
| configure | back to summary |
|---|---|
| public final void configure(SerializationFeature f, boolean state) | |
| getConfiguredMapper | back to summary |
|---|---|
| public MAPPER getConfiguredMapper() Method that locates, configures and returns | |
| getDefaultMapper | back to summary |
|---|---|
| public MAPPER getDefaultMapper() | |
| mapper | back to summary |
|---|---|
| protected MAPPER mapper() Helper method that will ensure that there is a configurable non-default mapper (constructing an instance if one didn't yet exit), and return that mapper. | |
| mapperBuilder | back to summary |
|---|---|
protected abstract MapperBuilder
| |
| setAnnotationIntrospector | back to summary |
|---|---|
| public final void setAnnotationIntrospector(AnnotationIntrospector aiOverride) | |
| setMapper | back to summary |
|---|---|
| public final void setMapper(MAPPER m) | |