Class NamespaceUtils

java.lang.Object
org.springframework.ws.server.endpoint.support.NamespaceUtils

public abstract class NamespaceUtils extends Object
Helper class for handling @Namespace annotations.
Since:
2.0
Author:
Arjen Poutsma
  • Method Details

    • getNamespaceContext

      public static NamespaceContext getNamespaceContext(Method method)
      Creates a 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.

      Parameters:
      method - the method to create the namespace context for
      Returns:
      the namespace context