Annotation Interface Namespace


@Documented @Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface Namespace
Sets up a namespace to be used in an @Endpoint method, class, or package.

Typically used in combination with @XPathParam, or @PayloadRoot.

Since:
2.0
Author:
Arjen Poutsma
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Signifies the URI of the namespace.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Signifies the prefix of the namespace.
  • Element Details

    • uri

      String uri
      Signifies the URI of the namespace.
      See Also:
    • prefix

      String prefix
      Signifies the prefix of the namespace.
      See Also:
      Default:
      ""