/* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.bind.annotation.adapters; import static java.lang.annotation.ElementType.PACKAGE; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Target; /** *

* A container for multiple @{@link 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 annnotation is useful for * defining {@link XmlJavaTypeAdapter} annotations for different types * at the package level. * *

See "Package Specification" in javax.xml.bind.package javadoc for * additional common information.

* * @author * @see XmlJavaTypeAdapter * @since JAXB2.0 */ @Retention(RUNTIME) @Target({PACKAGE}) public @interface XmlJavaTypeAdapters { /** * Collection of @{@link XmlJavaTypeAdapter} annotations */ XmlJavaTypeAdapter[] value(); }