All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.configuration.parsing.Namespace Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.configuration.parsing;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Namespace. An annotation which allows specifying the namespace recognized by an implementation of
 * a {@link ConfigurationParser}. If you need to specify multiple namespaces, use the
 * {@link Namespaces} annotation.
 *
 * @author Tristan Tarrant
 * @since 6.0
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface Namespace {
   /**
    * The URI of the namespace. Defaults to the empty string.
    */
   String uri() default "";

   /**
    * The root element of this namespace.
    */
   String root();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy