Annotation Type 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
      java.lang.String root
      The root element of this namespace.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String since
      The first version of the schema where this is supported.
      java.lang.String until
      The last version of the schema where this is supported.
      java.lang.String uri
      The URI of the namespace.
    • Element Detail

      • root

        java.lang.String root
        The root element of this namespace.
      • uri

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

        java.lang.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

        java.lang.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:
        ""