Top Description Methods
com.fasterxml.jackson.dataformat.xml.annotation

public @Interface JacksonXmlCData

extends Annotation
Annotations
@Target:ANNOTATION_TYPE, FIELD, METHOD, PARAMETER
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Adding this annotation will result in value of the property to be serialized within an xml CDATA section. Only use on String properties and String collections.

Method Summary

Modifier and TypeMethod and Description
public boolean
value()

Whether the property text should always be within a CDATA section when serialized.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public boolean value()

Whether the property text should always be within a CDATA section when serialized. Has no meaning for deserialization; content may come from any legal character data section (CDATA or regular text segment).