@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface XmlAnyAttribute
图一个JavaBean属性通配符属性图。
使用
的@XmlAnyAttribute注释可以用下面的程序元素:
看到“包装规范”的额外的信息共享javax.xml.bind.package javadoc。
的使用是受以下限制:在处理属性将它们分散到值班,每个属性,不是静态地与另一个JavaBean属性,通过XmlAttribute
,进入到Map
< QName
代表通配符属性图,Object
>。属性属性是Map的关键。键的值是属性的字符串值。
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.