|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.xml.bind.annotation.adapters Annotation Type XmlJavaTypeAdapters
@Target(value=PACKAGE)
多个 @XmlJavaTypeAdapter
注释的容器。
一个编程元素上不允许使用多个相同类型的注释。因此,此注释充当多个 @XmlJavaTypeAdapter 的容器注释,如下所示:
@XmlJavaTypeAdapters ({ @XmlJavaTypeAdapter(...),@XmlJavaTypeAdapter(...) })
@XmlJavaTypeAdapters 注释对于定义包级别上不同类型的 XmlJavaTypeAdapter
注释很有用。
有关附加的公共信息,请参阅 javax.xml.bind.package javadoc 中的“包规范”。
since | JAXB2.0 |
See also | javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter |
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.
- Since:
- JAXB2.0
- Author:
- Sekhar Vajjhala, Sun Microsystems, Inc.
- See Also:
XmlJavaTypeAdapter
Required Element Summary | |
---|---|
XmlJavaTypeAdapter[] |
value
Collection of @ XmlJavaTypeAdapter annotations |
Element Detail |
---|
abstract public XmlJavaTypeAdapter[]
value()
@XmlJavaTypeAdapter
注释的集合。
英文文档:
value
public abstract XmlJavaTypeAdapter[] value
- Collection of @
XmlJavaTypeAdapter
annotations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!