org.eclipse.persistence.oxm.annotations
Annotation Type XmlCDATA

Wrap the value inside a CDATA section. Normally JAXB will escape certain
characters in a string during a marshal operation:

& (as &amp;)

< (as &lt;)

" (as &quot;)

This means a property foo with string value "1 < 2" without
@XmlCDATA will be marshalled as <foo>1 &lt; 2</foo>. When
@XmlCDATA is used the content is marshalled as
<foo><![CDATA[1 < 2]]></foo>.
Example