public class Jackson2XmlMessageConverter extends AbstractJackson2MessageConverter
DEFAULT_CHARSET, log, objectMapper, typeMapperSet
Constructor and Description |
---|
Jackson2XmlMessageConverter()
Construct with an internal
XmlMapper instance
and trusted packed to all (* ). |
Jackson2XmlMessageConverter(String... trustedPackages)
Construct with an internal
XmlMapper instance. |
Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper)
Construct with the provided
XmlMapper instance
and trusted packed to all (* ). |
Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper,
String... trustedPackages)
Construct with the provided
XmlMapper instance. |
createMessage, createMessage, fromMessage, fromMessage, getClassLoader, getClassMapper, getDefaultCharset, getJavaTypeMapper, getTypePrecedence, setBeanClassLoader, setClassMapper, setDefaultCharset, setJavaTypeMapper, setTypePrecedence
isCreateMessageIds, setCreateMessageIds, toMessage, toMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toMessage, toMessage
public Jackson2XmlMessageConverter()
XmlMapper
instance
and trusted packed to all (*
).public Jackson2XmlMessageConverter(String... trustedPackages)
XmlMapper
instance.
The DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
is set to false on
the XmlMapper
.trustedPackages
- the trusted Java packages for deserializationDefaultJackson2JavaTypeMapper.setTrustedPackages(String...)
public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper)
XmlMapper
instance
and trusted packed to all (*
).xmlMapper
- the XmlMapper
to use.public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, String... trustedPackages)
XmlMapper
instance.xmlMapper
- the XmlMapper
to use.trustedPackages
- the trusted Java packages for deserializationDefaultJackson2JavaTypeMapper.setTrustedPackages(String...)