org.infinispan.configuration.parsing.Namespace Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy