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