|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={})
public @interface XmlNs
Associates a namespace prefix with a XML namespace URI.
Usage
@XmlNs annotation is intended for use from other program annotations.
See "Package Specification" in javax.xml.bind.package javadoc for additional common information.
Example:See XmlSchema annotation type for an example.
| Required Element Summary | |
|---|---|
String |
namespaceURI
Namespace URI |
String |
prefix
Namespace prefix |
| Element Detail |
|---|
public abstract String prefix
public abstract String namespaceURI
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.