34 * <p>
35 * A container for multiple @{@link XmlJavaTypeAdapter} annotations.
36 *
37 * <p> Multiple annotations of the same type are not allowed on a program
38 * element. This annotation therefore serves as a container annotation
39 * for multiple @XmlJavaTypeAdapter as follows:
40 *
41 * <pre>
42 * @XmlJavaTypeAdapters ({ @XmlJavaTypeAdapter(...),@XmlJavaTypeAdapter(...) })
43 * </pre>
44 *
45 * <p>The <tt>@XmlJavaTypeAdapters</tt> annnotation is useful for
46 * defining {@link XmlJavaTypeAdapter} annotations for different types
47 * at the package level.
48 *
49 * <p>See "Package Specification" in javax.xml.bind.package javadoc for
50 * additional common information.</p>
51 *
52 * @author <ul><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
53 * @see XmlJavaTypeAdapter
54 * @since JAXB2.0
55 */
56 @Retention(RUNTIME) @Target({PACKAGE})
57 public @interface XmlJavaTypeAdapters {
58 /**
59 * Collection of @{@link XmlJavaTypeAdapter} annotations
60 */
61 XmlJavaTypeAdapter[] value();
62 }
|
34 * <p>
35 * A container for multiple @{@link XmlJavaTypeAdapter} annotations.
36 *
37 * <p> Multiple annotations of the same type are not allowed on a program
38 * element. This annotation therefore serves as a container annotation
39 * for multiple @XmlJavaTypeAdapter as follows:
40 *
41 * <pre>
42 * @XmlJavaTypeAdapters ({ @XmlJavaTypeAdapter(...),@XmlJavaTypeAdapter(...) })
43 * </pre>
44 *
45 * <p>The <tt>@XmlJavaTypeAdapters</tt> annnotation is useful for
46 * defining {@link XmlJavaTypeAdapter} annotations for different types
47 * at the package level.
48 *
49 * <p>See "Package Specification" in javax.xml.bind.package javadoc for
50 * additional common information.</p>
51 *
52 * @author <ul><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
53 * @see XmlJavaTypeAdapter
54 * @since 1.6, JAXB 2.0
55 */
56 @Retention(RUNTIME) @Target({PACKAGE})
57 public @interface XmlJavaTypeAdapters {
58 /**
59 * Collection of @{@link XmlJavaTypeAdapter} annotations
60 */
61 XmlJavaTypeAdapter[] value();
62 }
|