View Javadoc

1   package org.codehaus.xfire.annotations.commons;
2   
3   import org.codehaus.xfire.annotations.WebParamAnnotation;
4   
5   /***
6    * Commons Attributes version of the WebParam Annotation.
7    *
8    * @author Arjen Poutsma
9    * @@org.apache.commons.attributes.Target(org.apache.commons.attributes.Target.METHOD_PARAMETER)
10   * @see org.codehaus.xfire.annotations.WebParamAnnotation
11   */
12  public class WebParam
13          extends WebParamAnnotation
14  {
15      public WebParam()
16      {
17      }
18  
19      public WebParam(String name)
20      {
21          setName(name);
22      }
23  
24      /***
25       * Initializes a new instance of the <code>WebParam</code> attribute with the specified name
26       * and namespace.
27       *
28       * @param name the name.
29       * @param targetNamespace the target namespace.
30       */
31      public WebParam(String name, String targetNamespace)
32      {
33          setName(name);
34          setTargetNamespace(targetNamespace);
35      }
36  }