XmlSchemaTypes (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.bind.annotation 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.

从以下版本开始:
JAXB2.0
作者:
  • Sekhar Vajjhala, Sun Microsystems, Inc.
另请参见:
XmlSchemaType

Required Element Summary
 XmlSchemaType[] value
          Collection of @XmlSchemaType annotations
 

元素详细信息

value

public abstract XmlSchemaType[] value
Collection of @XmlSchemaType annotations


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.