Annotation Type XmlJavaTypeAdapters


@Retention(RUNTIME) @Target(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.

Author:
  • Sekhar Vajjhala, Sun Microsystems, Inc.
See Also: