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