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 ReferencePropertiesType extends AnyContentTypeList {
53
54
55
56
57 private static final long serialVersionUID = 5394217943280242975L;
58
59
60
61
62 private static final TypeDesc TYPE_DESC = new TypeDesc(ReferencePropertiesType.class,
63 true);
64
65 static {
66 String ns = Constants.NS_URI_ADDRESSING_DEFAULT;
67 TYPE_DESC.setXmlType(new QName(ns, "ReferencePropertiesType"));
68 }
69
70
71
72
73
74
75
76 public static ReferencePropertiesType fromElement(Element element) {
77 ReferencePropertiesType props = new ReferencePropertiesType();
78 fromElement(props, element);
79 return props;
80 }
81
82
83
84
85
86
87
88 public static ReferencePropertiesType fromSOAPElement(SOAPElement element) {
89 ReferencePropertiesType props = new ReferencePropertiesType();
90 fromSOAPElement(props, element);
91 return props;
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 ReferencePropertiesType() {
131 }
132
133
134
135
136
137
138 public ReferencePropertiesType(Object element) {
139 super(element);
140 }
141
142
143
144
145
146
147 public ReferencePropertiesType(ReferencePropertiesType properties) {
148 super(properties, false);
149 }
150
151
152
153
154
155
156
157 public ReferencePropertiesType(ReferencePropertiesType properties, boolean deepCopy) {
158 super(properties, deepCopy);
159 }
160
161
162
163
164 public void append(Element parent) {
165 append(parent, Constants.REFERENCE_PROPERTIES);
166 }
167
168
169
170
171 @Override
172 public String toString() {
173 return super.toString("Reference properties");
174 }
175
176 }