1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.axis.message.addressing;
19
20 import org.apache.axis.types.URI;
21
22 import javax.xml.soap.SOAPEnvelope;
23 import javax.xml.soap.SOAPHeaderElement;
24
25 import org.w3c.dom.Element;
26
27 /***
28 * Java content class for Action element declaration.
29 * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 79)
30 * <p>
31 * <pre>
32 * <element name="Action" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedURI"/>
33 * </pre>
34 *
35 * @author Davanum Srinivas (dims@yahoo.com)
36 */
37 public class Action extends AttributedURI {
38
39 /***
40 * Constructor Action
41 *
42 * @param uri
43 */
44 public Action(URI uri) {
45 super(uri);
46 }
47
48 /***
49 * Constructor Action
50 *
51 * @param el
52 * @throws Exception
53 */
54 public Action(SOAPHeaderElement el)
55 throws Exception {
56 super(el);
57 }
58
59 public SOAPHeaderElement toSOAPHeaderElement(SOAPEnvelope env,
60 String actorURI)
61 throws Exception {
62 return toSOAPHeaderElement(env, actorURI, Constants.ACTION);
63 }
64
65 }
66
67