@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface XCollection
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
elementName
Value of primitive type wrapped into element named
option . |
java.lang.Class<?>[] |
elementTypes |
java.lang.String |
propertyElementName
The property element name.
|
XCollection.Style |
style |
java.lang.String |
valueAttributeName
Value of primitive type wrapped into element named `option`.
|
public abstract java.lang.String propertyElementName
style()
is set to XCollection.Style.v2
.
If not specified and style()
is not specified - property serialized using option tag.public abstract java.lang.String elementName
option
. This option allows you to customize element name.public abstract java.lang.String valueAttributeName
public abstract XCollection.Style style