Annotation Type JacksonXmlProperty
-
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER}) @Retention(RUNTIME) public @interface JacksonXmlPropertyAnnotation that can be used to provide XML-specific configuration for properties, above and beyond whatJsonPropertycontains. It is mainly an alternative to using JAXB annotations.Note that annotation may be used on
- Fields
- Setter and getter methods
- Arguments (parameters) of "Creators" -- annotated constructors and/or static factory methods
Note that since 2.12 there is no need to use this property over
JsonPropertyjust to define XML namespace, as@JsonPropertyhasnamespaceproperty.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanisAttributejava.lang.StringlocalNamejava.lang.Stringnamespace
-