Class Jackson2XmlMessageConverter

All Implemented Interfaces:
MessageConverter, SmartMessageConverter, Aware, BeanClassLoaderAware

@Deprecated(forRemoval=true, since="4.0") public class Jackson2XmlMessageConverter extends AbstractJackson2MessageConverter
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0 in favor of JacksonXmlMessageConverter for Jackson 3.
XML converter that uses the Jackson 2 Xml library.
Since:
2.1
Author:
Mohammad Hewedy
  • Constructor Details

    • Jackson2XmlMessageConverter

      public Jackson2XmlMessageConverter()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct with an internal XmlMapper instance and trusted packed to all (*).
    • Jackson2XmlMessageConverter

      public Jackson2XmlMessageConverter(String... trustedPackages)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct with an internal XmlMapper instance. The DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is set to false on the XmlMapper.
      Parameters:
      trustedPackages - the trusted Java packages for deserialization
      See Also:
    • Jackson2XmlMessageConverter

      public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct with the provided XmlMapper instance and trusted packed to all (*).
      Parameters:
      xmlMapper - the XmlMapper to use.
    • Jackson2XmlMessageConverter

      public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, String... trustedPackages)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct with the provided XmlMapper instance.
      Parameters:
      xmlMapper - the XmlMapper to use.
      trustedPackages - the trusted Java packages for deserialization
      See Also: