Annotation Type XmlNamespace


  • @Retention(RUNTIME)
    @Target(PACKAGE)
    public @interface XmlNamespace
    Declares the namespace URI of the TypedXmlWriters in a package.

    This annotation is placed on a package. When specified, it sets the default value of the namespace URI for all the elements (XmlElements) in the given package.

    Author:
    Kohsuke Kawaguchi
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The namespace URI.
    • Element Detail

      • value

        java.lang.String value
        The namespace URI.