Class XMLMapperConfigurator


  • public class XMLMapperConfigurator
    extends MapperConfiguratorBase<XMLMapperConfigurator,​com.fasterxml.jackson.dataformat.xml.XmlMapper>
    Helper class used to encapsulate details of configuring an XmlMapper instance to be used for data binding, as well as accessing it.
    • Constructor Detail

      • XMLMapperConfigurator

        public XMLMapperConfigurator​(com.fasterxml.jackson.dataformat.xml.XmlMapper mapper,
                                     Annotations[] defAnnotations)
    • Method Detail

      • getConfiguredModule

        protected com.fasterxml.jackson.dataformat.xml.JacksonXmlModule getConfiguredModule()
      • mapper

        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.
        Specified by:
        mapper in class MapperConfiguratorBase<XMLMapperConfigurator,​com.fasterxml.jackson.dataformat.xml.XmlMapper>
      • _resolveIntrospector

        protected com.fasterxml.jackson.databind.AnnotationIntrospector _resolveIntrospector​(Annotations ann)