|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface JacksonXmlText
Interface that is loosely similar to XmlValue
in that it can be used on one (and only one!) property of a POJO.
It will result in value of the property be serialized without element wrapper,
as long as there are no element-wrapped other properties (attribute-valued
properties are acceptable).
It is also similar to core Jackson JsonValue annotation; but
has to be separate as JsonValue does not allow any other
properties.
| Optional Element Summary | |
|---|---|
boolean |
value
Whether serialization of the property should always be done as basic XML text or not; if true, will be, if false, not. |
public abstract boolean value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||||