public abstract class NamespaceUtils extends Object
@Namespace annotations.| Modifier and Type | Method and Description |
|---|---|
static NamespaceContext |
getNamespaceContext(Method method)
Creates a
NamespaceContext for the specified method, based on @Namespaces and @Namespace annotations. |
public static NamespaceContext getNamespaceContext(Method method)
NamespaceContext for the specified method, based on @Namespaces and @Namespace annotations.
This method will search for @Namespaces and @Namespace annotation in the
given method, its class, and its package, in reverse order. That is: package-level annotations are overridden by
class-level annotations, which again are overridden by method-level annotations.
method - the method to create the namespace context for