@Retention(value=RUNTIME) @Target(value={}) public @interface XmlNs
公司名称空间前缀与XML命名空间URI。
使用
@XmlNs注释的目的是为使用其他程序注释。
看到“包装规范”的额外的信息共享javax.xml.bind.package javadoc。
例子:see 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.