@Retention(value=RUNTIME) @Target(value={}) public @interface XmlNs
将命名空间前缀与XML命名空间URI相关联。
用法
@XmlNs注释用于其他程序注释。
有关其他常见信息,请参阅javax.xml.bind.package javadoc中的“Package Specification”。
示例:有关示例,请参阅XmlSchema注释类型。
Modifier and Type | Required Element and Description |
---|---|
String |
namespaceURI
命名空间URI
|
String |
prefix
命名空间前缀
|
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.