1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.axis.message.addressing;
17
18 import javax.xml.namespace.QName;
19 import javax.xml.soap.SOAPElement;
20
21 import org.apache.axis.description.TypeDesc;
22 import org.apache.axis.encoding.Deserializer;
23 import org.apache.axis.encoding.Serializer;
24 import org.apache.axis.encoding.ser.BeanDeserializer;
25 import org.apache.axis.encoding.ser.BeanSerializer;
26 import org.w3c.dom.Element;
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 public class ReferenceParametersType extends AnyContentTypeList {
53
54
55
56
57 private static final long serialVersionUID = -6929529435356364350L;
58
59
60
61
62 private static final TypeDesc TYPE_DESC = new TypeDesc(ReferenceParametersType.class,
63 true);
64
65 static {
66 String ns = Constants.NS_URI_ADDRESSING_DEFAULT;
67 TYPE_DESC.setXmlType(new QName(ns, "ReferenceParametersType"));
68 }
69
70
71
72
73
74
75
76 public static ReferenceParametersType fromElement(Element element) {
77 ReferenceParametersType params = new ReferenceParametersType();
78 fromElement(params, element);
79 return params;
80 }
81
82
83
84
85
86
87
88 public static ReferenceParametersType fromSOAPElement(SOAPElement element) {
89 ReferenceParametersType params = new ReferenceParametersType();
90 fromSOAPElement(params, element);
91 return params;
92 }
93
94
95
96
97
98
99
100
101
102 public static Deserializer getDeserializer(String mType, Class<?> jType, QName xType) {
103 return new BeanDeserializer(jType, xType, TYPE_DESC);
104 }
105
106
107
108
109
110
111
112
113
114 public static Serializer getSerializer(String mType, Class<?> jType, QName xType) {
115 return new BeanSerializer(jType, xType, TYPE_DESC);
116 }
117
118
119
120
121
122
123 public static TypeDesc getTypeDesc() {
124 return TYPE_DESC;
125 }
126
127
128
129
130 public ReferenceParametersType() {
131 }
132
133
134
135
136
137
138 public ReferenceParametersType(Object element) {
139 super(element);
140 }
141
142
143
144
145
146
147 public ReferenceParametersType(ReferenceParametersType params) {
148 super(params, false);
149 }
150
151
152
153
154
155
156
157 public ReferenceParametersType(ReferenceParametersType params, boolean deepCopy) {
158 super(params, deepCopy);
159 }
160
161
162
163
164 public void append(Element parent) {
165 append(parent, Constants.REFERENCE_PARAMETERS);
166 }
167
168
169
170
171 @Override
172 public String toString() {
173 return this.toString("Reference parameters");
174 }
175 }