Package com.fasterxml.jackson.dataformat.xml.annotation
Package that contains additional annotations that can be
used to configure XML-specific aspects of serialization
and deserialization
-
Annotation Types Summary Annotation Type Description JacksonXmlCData Adding this annotation will result in value of the property to be serialized within a CData tag.JacksonXmlElementWrapper Annotation that is similar to JAXBjavax.xml.bind.annotation.XmlElementWrapper, to indicate wrapper element to use (if any) for Collection types (arrays,java.util.Collection).JacksonXmlProperty Annotation that can be used to provide XML-specific configuration for properties, above and beyond whatJsonPropertycontains.JacksonXmlRootElement Annotation that can be used to define name of root element used for the root-level object when serialized, which normally uses name of the type (class).JacksonXmlText Interface that is loosely similar toXmlValuein that it can be used on one (and only one!) property of a POJO.