public class YAMLMapperConfigurator extends MapperConfiguratorBase<YAMLMapperConfigurator,com.fasterxml.jackson.dataformat.yaml.YAMLMapper>
YAMLMapper instance to be used for data binding, as
well as accessing it._defaultAnnotationsToUse, _defaultMapper, _jaxbIntrospectorClass, _mapper| Constructor and Description |
|---|
YAMLMapperConfigurator(com.fasterxml.jackson.dataformat.yaml.YAMLMapper mapper,
Annotations[] defAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
_resolveIntrospector(Annotations ann) |
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
_resolveIntrospectors(Annotations[] annotationsToUse) |
com.fasterxml.jackson.dataformat.yaml.YAMLMapper |
getConfiguredMapper()
Method that locates, configures and returns
YAMLMapper to use |
com.fasterxml.jackson.dataformat.yaml.YAMLMapper |
getDefaultMapper() |
protected com.fasterxml.jackson.dataformat.yaml.YAMLMapper |
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.
|
_setAnnotations, configure, configure, configure, configure, setAnnotationsToUse, setMapperpublic YAMLMapperConfigurator(com.fasterxml.jackson.dataformat.yaml.YAMLMapper mapper,
Annotations[] defAnnotations)
public com.fasterxml.jackson.dataformat.yaml.YAMLMapper getConfiguredMapper()
YAMLMapper to usegetConfiguredMapper in class MapperConfiguratorBase<YAMLMapperConfigurator,com.fasterxml.jackson.dataformat.yaml.YAMLMapper>public com.fasterxml.jackson.dataformat.yaml.YAMLMapper getDefaultMapper()
getDefaultMapper in class MapperConfiguratorBase<YAMLMapperConfigurator,com.fasterxml.jackson.dataformat.yaml.YAMLMapper>protected com.fasterxml.jackson.dataformat.yaml.YAMLMapper mapper()
mapper in class MapperConfiguratorBase<YAMLMapperConfigurator,com.fasterxml.jackson.dataformat.yaml.YAMLMapper>protected com.fasterxml.jackson.databind.AnnotationIntrospector _resolveIntrospectors(Annotations[] annotationsToUse)
_resolveIntrospectors in class MapperConfiguratorBase<YAMLMapperConfigurator,com.fasterxml.jackson.dataformat.yaml.YAMLMapper>protected com.fasterxml.jackson.databind.AnnotationIntrospector _resolveIntrospector(Annotations ann)
Copyright © 2021 FasterXML. All rights reserved.