KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jws > WebParam


1 package javax.jws;
2
3 import java.lang.annotation.ElementType JavaDoc;
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.RetentionPolicy JavaDoc;
6 import java.lang.annotation.Target JavaDoc;
7
8 import spoon.aval.annotation.structure.Inside;
9
10 @Retention JavaDoc(value = RetentionPolicy.RUNTIME)
11 @Target JavaDoc( { ElementType.PARAMETER })
12 @Inside(WebMethod.class)
13 public @interface WebParam {
14     public enum Mode {
15         IN, OUT, INOUT
16     };
17
18     String JavaDoc name() default "";
19
20     String JavaDoc targetNamespace() default "";
21
22     Mode mode() default Mode.IN;
23
24     boolean header() default false;
25 }
26
Popular Tags