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 /***
26 * Java content class for MessageID element declaration.
27 * <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 76)
28 * <p>
29 * <pre>
30 * <element name="MessageID" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedURI"/>
31 * </pre>
32 *
33 * @author Davanum Srinivas (dims@yahoo.com)
34 */
35 public class MessageID extends AttributedURI {
36 /***
37 * Constructor MessageID
38 *
39 * @param uri
40 */
41 public MessageID(URI uri) {
42 super(uri);
43 }
44
45 /***
46 * Constructor MessageID
47 */
48 public MessageID() {
49 }
50
51 /***
52 * Constructor MessageID
53 *
54 * @param el
55 * @throws Exception
56 */
57 public MessageID(SOAPHeaderElement el)
58 throws Exception {
59 super(el);
60 }
61
62 public SOAPHeaderElement toSOAPHeaderElement(SOAPEnvelope env,
63 String actorURI)
64 throws Exception {
65 return toSOAPHeaderElement(env, actorURI, Constants.MESSAGE_ID);
66 }
67
68 }
69
70
71