Annotation Type JacksonXmlCData


  • @Target({FIELD,METHOD,PARAMETER})
    @Retention(RUNTIME)
    public @interface JacksonXmlCData
    Adding this annotation will result in value of the property to be serialized within a CData tag. Only use on String properties and String collections.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value
      Whether the property text should always be within a CData block when serialized.
    • Element Detail

      • value

        boolean value
        Whether the property text should always be within a CData block when serialized.
        Default:
        true