@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface XmlDefineNamespace
@XmlDefineNamespace(name="my-ns",value="namespace")results in the following attribute in the schema element:
xmlns:my-ns="namespace"Multiple name spaces (and includes, with
XmlInclude
) might be added laterCopyright © 1998-2014 Bela Ban / Red Hat. All Rights Reserved.