All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spinjar.javax.xml.bind.annotation.XmlSchemaTypes Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package javax.xml.bind.annotation;

import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.PACKAGE;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 

* A container for multiple @{@link 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 {@code @XmlSchemaTypes} annnotation can be used to * define {@link XmlSchemaType} for different types at the * package level. * *

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

* * @author
  • Sekhar Vajjhala, Sun Microsystems, Inc.
* @see XmlSchemaType * @since 1.6, JAXB 2.0 */ @Retention(RUNTIME) @Target({PACKAGE}) public @interface XmlSchemaTypes { /** * Collection of @{@link XmlSchemaType} annotations */ XmlSchemaType[] value(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy