@Retention(value=RUNTIME) @Target(value=PACKAGE) public @interface XmlJavaTypeAdapters
一种多@ XmlJavaTypeAdapter
注释容器。
在程序元素上不允许使用同一类型的多个注释。这个注释,因此作为一个多@ xmljavatypeadapter容器标注如下:
“xmljavatypeadapters({“xmljavatypeadapter(…),“xmljavatypeadapter(…)})
的@XmlJavaTypeAdapters annnotation是有用的定义XmlJavaTypeAdapter
标注不同类型在包级。
看到“包装规范”的额外的信息共享javax.xml.bind.package javadoc。
XmlJavaTypeAdapter
Modifier and Type | Required Element and Description |
---|---|
XmlJavaTypeAdapter[] |
value
“
XmlJavaTypeAdapter 注释集合
|
public abstract XmlJavaTypeAdapter[] value
XmlJavaTypeAdapter
注释集合
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.