Annotation Interface Namespace


@Retention(RUNTIME) @Repeatable(Namespaces.class) public @interface Namespace
Namespace. An annotation which allows specifying the namespace recognized by an implementation of a ConfigurationParser. If you need to specify multiple namespaces, use the Namespaces annotation.
Since:
6.0
Author:
Tristan Tarrant
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The root element of this namespace.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The first version of the schema where this is supported.
    The last version of the schema where this is supported.
    The URI of the namespace.
  • Element Details

    • uri

      String uri
      The URI of the namespace. Defaults to the empty string.
      Default:
      ""
    • root

      String root
      The root element of this namespace.
    • since

      String since
      The first version of the schema where this is supported. Defaults to 7.0. Only considered if uri() ends with a wildcard
      Default:
      "7.0"
    • until

      String until
      The last version of the schema where this is supported. Defaults to the current release. Only considered if uri() ends with a wildcard
      Default:
      ""