XmlJavaTypeAdapters (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.bind.annotation.adapters Annotation Type XmlJavaTypeAdapters


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

A container for multiple @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 XmlJavaTypeAdapter annotations 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.
另请参见:
XmlJavaTypeAdapter

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

元素详细信息

value

public abstract XmlJavaTypeAdapter[] value
Collection of @XmlJavaTypeAdapter annotations


Java EE 5 SDK

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


提交错误或意见

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