33 /**
34 * <p>
35 * A container for multiple @{@link XmlSchemaType} 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 @XmlSchemaType annotations as follows:
40 *
41 * <pre>
42 * @XmlSchemaTypes({ @XmlSchemaType(...), @XmlSchemaType(...) })
43 * </pre>
44 * <p>The <tt>@XmlSchemaTypes</tt> annnotation can be used to
45 * define {@link XmlSchemaType} for different types at the
46 * package level.
47 *
48 * <p>See "Package Specification" in javax.xml.bind.package javadoc for
49 * additional common information.</p>
50 *
51 * @author <ul><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
52 * @see XmlSchemaType
53 * @since JAXB2.0
54 */
55 @Retention(RUNTIME) @Target({PACKAGE})
56 public @interface XmlSchemaTypes {
57 /**
58 * Collection of @{@link XmlSchemaType} annotations
59 */
60 XmlSchemaType[] value();
61 }
|
33 /**
34 * <p>
35 * A container for multiple @{@link XmlSchemaType} 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 @XmlSchemaType annotations as follows:
40 *
41 * <pre>
42 * @XmlSchemaTypes({ @XmlSchemaType(...), @XmlSchemaType(...) })
43 * </pre>
44 * <p>The <tt>@XmlSchemaTypes</tt> annnotation can be used to
45 * define {@link XmlSchemaType} for different types at the
46 * package level.
47 *
48 * <p>See "Package Specification" in javax.xml.bind.package javadoc for
49 * additional common information.</p>
50 *
51 * @author <ul><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
52 * @see XmlSchemaType
53 * @since 1.6, JAXB 2.0
54 */
55 @Retention(RUNTIME) @Target({PACKAGE})
56 public @interface XmlSchemaTypes {
57 /**
58 * Collection of @{@link XmlSchemaType} annotations
59 */
60 XmlSchemaType[] value();
61 }
|