KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jws > soap > SOAPBinding


1 package javax.jws.soap;
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 @Retention JavaDoc(value = RetentionPolicy.RUNTIME)
9 @Target JavaDoc( { ElementType.TYPE })
10 public @interface SOAPBinding {
11     public enum Style {
12         DOCUMENT, RPC
13     };
14
15     public enum Use {
16         LITERAL, ENCODED
17     };
18
19     public enum ParameterStyle {
20         BARE, WRAPPED
21     }
22
23     Style style() default Style.DOCUMENT;
24
25     Use use() default Use.LITERAL;
26
27     ParameterStyle parameterStyle() default ParameterStyle.WRAPPED;
28 }
Popular Tags