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