@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface JacksonXmlElementWrapper
javax.xml.bind.annotation.XmlElementWrapper
,
to indicate wrapper element to use (if any) for Collection types (arrays,
java.util.Collection
). If defined, a separate container (wrapper) element
is used; if not, entries are written without wrapping.Modifier and Type | Fields and Description |
---|---|
static String |
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.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
localName |
String |
namespace |
boolean |
useWrapping
Optional property that can be used to explicitly disable wrapping,
usually via mix-ins, or when using
AnnotationIntrospector
pairs. |
public static final String USE_PROPERTY_NAME
public abstract String namespace
public abstract String localName
Copyright © 2019 FasterXML. All rights reserved.