@Retention(value=RUNTIME)
@Target(value=PACKAGE)
public @interface XmlJavaTypeAdapters
A container for multiple @XmlJavaTypeAdapter
annotations.
Multiple annotations of the same type are not allowed on a program element. This annotation therefore serves as a container annotation for multiple @XmlJavaTypeAdapter as follows:
@XmlJavaTypeAdapters ({ @XmlJavaTypeAdapter(...),@XmlJavaTypeAdapter(...) })
The @XmlJavaTypeAdapters
annotation is useful for
defining XmlJavaTypeAdapter
annotations for different types
at the package level.
See "Package Specification" in jakarta.xml.bind.package javadoc for additional common information.
XmlJavaTypeAdapter
Modifier and Type | Required Element and Description |
---|---|
XmlJavaTypeAdapter[] |
value
Collection of @
XmlJavaTypeAdapter annotations |
public abstract XmlJavaTypeAdapter[] value
XmlJavaTypeAdapter
annotations