Annotation Type XmlSchemaTypes


@Retention(value=RUNTIME)
 @Target(value=PACKAGE)
public @interface XmlSchemaTypes

A container for multiple @XmlSchemaType annotations.

Multiple annotations of the same type are not allowed on a program element. This annotation therefore serves as a container annotation for multiple @XmlSchemaType annotations as follows:

@XmlSchemaTypes({ @XmlSchemaType(...), @XmlSchemaType(...) })

The @XmlSchemaTypes annnotation can be used to define XmlSchemaType for different types at the package level.

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

Since:
JAXB2.0
See Also:
XmlSchemaType

Required Elements

Modifier and Type Required Element and Description
XmlSchemaType[] value

Collection of @XmlSchemaType annotations

Elements

value

public abstract XmlSchemaType[] value

Collection of @XmlSchemaType annotations

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/annotation/XmlSchemaTypes.html