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 javax.xml.bind.package javadoc for additional common information.

    Since:
    1.6, JAXB 2.0
    See Also:
    XmlJavaTypeAdapter