KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > soap > impl > llom > factory > SOAPLinkedListImplFactory


1 package org.apache.axis2.soap.impl.llom.factory;
2
3 import org.apache.axis2.om.OMNamespace;
4 import org.apache.axis2.om.OMXMLParserWrapper;
5 import org.apache.axis2.om.impl.llom.factory.OMLinkedListImplFactory;
6 import org.apache.axis2.soap.*;
7 import org.apache.axis2.soap.impl.llom.SOAPEnvelopeImpl;
8 import org.apache.axis2.soap.impl.llom.SOAPProcessingException;
9
10 /**
11  * Copyright 2001-2004 The Apache Software Foundation.
12  * <p/>
13  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
14  * use this file except in compliance with the License. You may obtain a copy of
15  * the License at
16  * <p/>
17  * http://www.apache.org/licenses/LICENSE-2.0
18  * <p/>
19  * Unless required by applicable law or agreed to in writing, software
20  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
22  * License for the specific language governing permissions and limitations under
23  * the License.
24  * <p/>
25  */

26 public class SOAPLinkedListImplFactory extends OMLinkedListImplFactory implements SOAPFactory {
27     /**
28      * Eran Chinthaka (chinthaka@apache.org)
29      */

30
31
32     public SOAPEnvelope createSOAPEnvelope(OMXMLParserWrapper builder){
33         return new SOAPEnvelopeImpl(builder);
34     }
35
36     public SOAPEnvelope createSOAPEnvelope() {
37         throw new UnsupportedOperationException JavaDoc();
38     }
39
40     public SOAPHeader createSOAPHeader(SOAPEnvelope envelope) throws SOAPProcessingException {
41         throw new UnsupportedOperationException JavaDoc();
42     }
43
44     public SOAPHeader createSOAPHeader(SOAPEnvelope envelope, OMXMLParserWrapper builder) {
45         throw new UnsupportedOperationException JavaDoc();
46
47     }
48
49     public SOAPHeaderBlock createSOAPHeaderBlock(String JavaDoc localName, OMNamespace ns, SOAPHeader parent) throws SOAPProcessingException {
50         throw new UnsupportedOperationException JavaDoc();
51
52     }
53
54     public SOAPHeaderBlock createSOAPHeaderBlock(String JavaDoc localName, OMNamespace ns, SOAPHeader parent, OMXMLParserWrapper builder) throws SOAPProcessingException {
55         throw new UnsupportedOperationException JavaDoc();
56
57     }
58
59
60     public SOAPFault createSOAPFault(SOAPBody parent, Exception JavaDoc e) throws SOAPProcessingException {
61         throw new UnsupportedOperationException JavaDoc();
62     }
63
64     public SOAPFault createSOAPFault(SOAPBody parent) throws SOAPProcessingException {
65         throw new UnsupportedOperationException JavaDoc();
66     }
67
68     public SOAPFault createSOAPFault(SOAPBody parent, OMXMLParserWrapper builder) {
69         throw new UnsupportedOperationException JavaDoc();
70     }
71
72     public SOAPBody createSOAPBody(SOAPEnvelope envelope) throws SOAPProcessingException {
73         throw new UnsupportedOperationException JavaDoc();
74     }
75
76     public SOAPBody createSOAPBody(SOAPEnvelope envelope, OMXMLParserWrapper builder) {
77         throw new UnsupportedOperationException JavaDoc();
78     }
79
80     public SOAPFaultCode createSOAPFaultCode(SOAPFault parent) throws SOAPProcessingException {
81         throw new UnsupportedOperationException JavaDoc();
82     }
83
84     public SOAPFaultCode createSOAPFaultCode(SOAPFault parent, OMXMLParserWrapper builder) {
85         throw new UnsupportedOperationException JavaDoc();
86     }
87
88     public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent) throws SOAPProcessingException {
89         throw new UnsupportedOperationException JavaDoc();
90     }
91
92     public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent, OMXMLParserWrapper builder) {
93         throw new UnsupportedOperationException JavaDoc();
94     }
95
96     //added
97
public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent) throws SOAPProcessingException {
98         throw new UnsupportedOperationException JavaDoc();
99     }
100
101     //added
102
public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent, OMXMLParserWrapper builder) {
103         throw new UnsupportedOperationException JavaDoc();
104     }
105
106     //changed
107
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent) throws SOAPProcessingException {
108         throw new UnsupportedOperationException JavaDoc();
109     }
110
111     //changed
112
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent, OMXMLParserWrapper builder) {
113         throw new UnsupportedOperationException JavaDoc();
114     }
115
116     public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent) throws SOAPProcessingException {
117         throw new UnsupportedOperationException JavaDoc();
118     }
119
120     public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent, OMXMLParserWrapper builder) {
121         throw new UnsupportedOperationException JavaDoc();
122     }
123
124     public SOAPFaultReason createSOAPFaultReason(SOAPFault parent) throws SOAPProcessingException {
125         throw new UnsupportedOperationException JavaDoc();
126     }
127
128     public SOAPFaultReason createSOAPFaultReason(SOAPFault parent, OMXMLParserWrapper builder) {
129         throw new UnsupportedOperationException JavaDoc();
130     }
131
132     public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent) throws SOAPProcessingException {
133         throw new UnsupportedOperationException JavaDoc();
134     }
135
136     public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent, OMXMLParserWrapper builder) {
137         throw new UnsupportedOperationException JavaDoc();
138     }
139
140     public SOAPFaultNode createSOAPFaultNode(SOAPFault parent) throws SOAPProcessingException {
141         throw new UnsupportedOperationException JavaDoc();
142     }
143
144     public SOAPFaultNode createSOAPFaultNode(SOAPFault parent, OMXMLParserWrapper builder) {
145         throw new UnsupportedOperationException JavaDoc();
146     }
147
148     public SOAPFaultRole createSOAPFaultRole(SOAPFault parent) throws SOAPProcessingException {
149         throw new UnsupportedOperationException JavaDoc();
150     }
151
152     public SOAPFaultRole createSOAPFaultRole(SOAPFault parent, OMXMLParserWrapper builder) {
153         throw new UnsupportedOperationException JavaDoc();
154     }
155
156     public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) throws SOAPProcessingException {
157         throw new UnsupportedOperationException JavaDoc();
158     }
159
160     public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent, OMXMLParserWrapper builder) {
161         throw new UnsupportedOperationException JavaDoc();
162     }
163
164
165     /**
166      * Method getDefaultEnvelope
167      *
168      * @return
169      */

170     public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
171         throw new UnsupportedOperationException JavaDoc();
172     }
173
174     public SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException {
175         SOAPEnvelope defaultEnvelope = getDefaultEnvelope();
176         SOAPFault fault = createSOAPFault(defaultEnvelope.getBody());
177
178         SOAPFaultCode faultCode = createSOAPFaultCode(fault);
179         SOAPFaultValue value = createSOAPFaultValue(faultCode);
180
181         SOAPFaultReason reason = createSOAPFaultReason(fault);
182         SOAPFaultText faultText = createSOAPFaultText(reason);
183
184         SOAPFaultNode faultNode = createSOAPFaultNode(fault);
185         SOAPFaultRole faultRole = createSOAPFaultRole(fault);
186         SOAPFaultDetail faultDetail = createSOAPFaultDetail(fault);
187
188         return defaultEnvelope;
189     }
190 }
191
Popular Tags