Module tools.jackson.dataformat.xml
Annotation Interface JacksonXmlElementWrapper
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER})
@Retention(RUNTIME)
public @interface JacksonXmlElementWrapper
Annotation that is similar to JAXB
jakarta.xml.bind.annotation.XmlElementWrapper,
to indicate wrapper element to use (if any) for Collection types (arrays,
Collection). If defined, a separate container (wrapper) element
is used; if not, entries are written with wrapping.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanOptional property that can be used to explicitly disable wrapping, usually via mix-ins, or when usingAnnotationIntrospectorpairs. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMarker value (empty String) that denotes that the underlying property name should also be used as the wrapper name, effectively "doubling" start and end elements.
-
Field Details
-
USE_PROPERTY_NAME
Marker value (empty String) that denotes that the underlying property name should also be used as the wrapper name, effectively "doubling" start and end elements.- See Also:
-
-
Element Details