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