Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java Fri Aug 21 22:29:01 2015 @@ -26,10 +26,8 @@ import org.apache.axiom.om.OMException; import org.apache.axiom.om.OMFactory; import org.apache.axiom.om.OMNamespace; import org.apache.axiom.om.OMNode; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.om.impl.OMNodeEx; import org.apache.axiom.soap.RolePlayer; -import org.apache.axiom.soap.SOAPConstants; import org.apache.axiom.soap.SOAPEnvelope; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPHeaderBlock; @@ -57,27 +55,6 @@ public abstract class SOAPHeaderImpl ext super(factory); } - protected SOAPHeaderImpl(OMNamespace ns, SOAPFactory factory) { - super(SOAPConstants.HEADER_LOCAL_NAME, ns, factory); - } - - public SOAPHeaderImpl(SOAPEnvelope envelope, SOAPFactory factory) - throws SOAPProcessingException { - super(envelope, SOAPConstants.HEADER_LOCAL_NAME, true, factory); - - } - - /** - * Constructor SOAPHeaderImpl - * - * @param envelope - * @param builder - */ - public SOAPHeaderImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(envelope, SOAPConstants.HEADER_LOCAL_NAME, builder, factory); - } - public SOAPHeaderBlock addHeaderBlock(String localName, OMNamespace ns) throws OMException {
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11BodyImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11BodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11BodyImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11BodyImpl.java Fri Aug 21 22:29:01 2015 @@ -21,12 +21,7 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMException; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPConstants; -import org.apache.axiom.soap.SOAPEnvelope; -import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; -import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP11Body; import org.apache.axiom.soap.impl.llom.SOAPBodyImpl; @@ -35,28 +30,6 @@ public class SOAP11BodyImpl extends SOAP super(factory); } - /** @param envelope */ - public SOAP11BodyImpl(SOAPEnvelope envelope, SOAPFactory factory) - throws SOAPProcessingException { - super(envelope, factory); - } - - public SOAP11BodyImpl(SOAPFactory factory) throws SOAPProcessingException { - super(SOAPConstants.BODY_LOCAL_NAME, factory.getNamespace(), - factory); - } - - /** - * Constructor SOAPBodyImpl - * - * @param envelope - * @param builder - */ - public SOAP11BodyImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(envelope, builder, factory); - } - public SOAPFault addFault(Exception e) throws OMException { return ((SOAP11Factory)getOMFactory()).createSOAPFault(this, e); } Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java Fri Aug 21 22:29:01 2015 @@ -22,7 +22,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMAbstractFactory; import org.apache.axiom.om.OMDataSource; import org.apache.axiom.om.OMNamespace; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.om.impl.common.OMNamespaceImpl; import org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory; import org.apache.axiom.soap.SOAP11Constants; @@ -30,14 +29,11 @@ import org.apache.axiom.soap.SOAPBody; import org.apache.axiom.soap.SOAPEnvelope; import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultCode; -import org.apache.axiom.soap.SOAPFaultDetail; import org.apache.axiom.soap.SOAPFaultNode; import org.apache.axiom.soap.SOAPFaultReason; -import org.apache.axiom.soap.SOAPFaultRole; import org.apache.axiom.soap.SOAPFaultSubCode; import org.apache.axiom.soap.SOAPFaultText; import org.apache.axiom.soap.SOAPFaultValue; -import org.apache.axiom.soap.SOAPHeader; import org.apache.axiom.soap.SOAPHeaderBlock; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.SOAPVersion; @@ -77,20 +73,6 @@ public class SOAP11Factory extends SOAPF return SOAP11Version.getSingleton(); } - public SOAPHeader createSOAPHeader(SOAPEnvelope envelope) - throws SOAPProcessingException { - return new SOAP11HeaderImpl(envelope, this); - } - - public SOAPHeader createSOAPHeader() throws SOAPProcessingException { - return new SOAP11HeaderImpl(this); - } - - public SOAPHeader createSOAPHeader(SOAPEnvelope envelope, - OMXMLParserWrapper builder) { - return new SOAP11HeaderImpl(envelope, builder, this); - } - public SOAPHeaderBlock createSOAPHeaderBlock(OMDataSource source) { return new SOAP11HeaderBlockImpl(this, source); } @@ -107,48 +89,6 @@ public class SOAP11Factory extends SOAPF return new SOAP11FaultImpl(parent, e, this); } - public SOAPFault createSOAPFault() throws SOAPProcessingException { - return new SOAP11FaultImpl(this); - } - - public SOAPFault createSOAPFault(SOAPBody parent) - throws SOAPProcessingException { - return new SOAP11FaultImpl(parent, this); - } - - public SOAPFault createSOAPFault(SOAPBody parent, - OMXMLParserWrapper builder) { - return new SOAP11FaultImpl(parent, builder, this); - } - - public SOAPBody createSOAPBody(SOAPEnvelope envelope) - throws SOAPProcessingException { - return new SOAP11BodyImpl(envelope, this); - } - - public SOAPBody createSOAPBody(SOAPEnvelope envelope, - OMXMLParserWrapper builder) { - return new SOAP11BodyImpl(envelope, builder, this); - } - - public SOAPBody createSOAPBody() throws SOAPProcessingException { - return new SOAP11BodyImpl(this); - } - - public SOAPFaultCode createSOAPFaultCode(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP11FaultCodeImpl(parent, this); - } - - public SOAPFaultCode createSOAPFaultCode() throws SOAPProcessingException { - return new SOAP11FaultCodeImpl(this); - } - - public SOAPFaultCode createSOAPFaultCode(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP11FaultCodeImpl(parent, builder, this); - } - public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent) throws SOAPProcessingException { throw new UnsupportedOperationException(); @@ -179,20 +119,6 @@ public class SOAP11Factory extends SOAPF throw new UnsupportedOperationException(); } - public SOAPFaultReason createSOAPFaultReason(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP11FaultReasonImpl(parent, this); - } - - public SOAPFaultReason createSOAPFaultReason() throws SOAPProcessingException { - return new SOAP11FaultReasonImpl(this); - } - - public SOAPFaultReason createSOAPFaultReason(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP11FaultReasonImpl(parent, builder, this); - } - public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent) throws SOAPProcessingException { throw new UnsupportedOperationException(); @@ -211,34 +137,6 @@ public class SOAP11Factory extends SOAPF throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node"); } - public SOAPFaultRole createSOAPFaultRole(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP11FaultRoleImpl(parent, this); - } - - public SOAPFaultRole createSOAPFaultRole() throws SOAPProcessingException { - return new SOAP11FaultRoleImpl(this); - } - - public SOAPFaultRole createSOAPFaultRole(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP11FaultRoleImpl(parent, builder, this); - } - - public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP11FaultDetailImpl(parent, this); - } - - public SOAPFaultDetail createSOAPFaultDetail() throws SOAPProcessingException { - return new SOAP11FaultDetailImpl(this); - } - - public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP11FaultDetailImpl(parent, builder, this); - } - public SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException { SOAPEnvelope defaultEnvelope = getDefaultEnvelope(); SOAPFault fault = createSOAPFault(defaultEnvelope.getBody()); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java Fri Aug 21 22:29:01 2015 @@ -21,10 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAP11Constants; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultSubCode; import org.apache.axiom.soap.SOAPFaultValue; import org.apache.axiom.soap.SOAPProcessingException; @@ -38,20 +34,6 @@ public class SOAP11FaultCodeImpl extends super(factory); } - public SOAP11FaultCodeImpl(SOAPFactory factory) { - super(SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME, null, factory); - } - - public SOAP11FaultCodeImpl(SOAPFault parent, OMXMLParserWrapper builder, SOAPFactory factory) { - super(parent, SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME, builder, factory); - } - - public SOAP11FaultCodeImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME, false, factory); - } - - public void setSubCode(SOAPFaultSubCode subCode) throws SOAPProcessingException { throw new UnsupportedOperationException(); } Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java Fri Aug 21 22:29:01 2015 @@ -21,7 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPProcessingException; @@ -33,20 +32,11 @@ public class SOAP11FaultDetailImpl exten super(factory); } - public SOAP11FaultDetailImpl(SOAPFactory factory) { - super(null, factory); - } - public SOAP11FaultDetailImpl(SOAPFault parent, SOAPFactory factory) throws SOAPProcessingException { super(parent, false, factory); } - public SOAP11FaultDetailImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - public void checkParent(OMElement parent) throws SOAPProcessingException { if (!(parent instanceof SOAP11FaultImpl)) { throw new SOAPProcessingException("Expecting SOAP11FaultImpl, got " + Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultImpl.java Fri Aug 21 22:29:01 2015 @@ -21,7 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.soap.SOAPBody; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; @@ -35,30 +34,11 @@ public class SOAP11FaultImpl extends SOA super(factory); } - public SOAP11FaultImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - public SOAP11FaultImpl(SOAPBody parent, Exception e, SOAPFactory factory) throws SOAPProcessingException { super(parent, e, factory); } - public SOAP11FaultImpl(SOAPBody parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - - /** - * This is a convenience method for the SOAP Fault Impl. - * - * @param parent - */ - public SOAP11FaultImpl(SOAPBody parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, factory); - } - protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) throws SOAPProcessingException { return new SOAP11FaultDetailImpl(fault, (SOAPFactory)getOMFactory()); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java Fri Aug 21 22:29:01 2015 @@ -21,9 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultText; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason; @@ -34,21 +31,6 @@ public class SOAP11FaultReasonImpl exten super(factory); } - public SOAP11FaultReasonImpl(SOAPFactory factory) { - super(null, factory); - } - - public SOAP11FaultReasonImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - - /** @param parent */ - public SOAP11FaultReasonImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, false, factory); - } - public void addSOAPText(SOAPFaultText soapFaultText) throws SOAPProcessingException { throw new UnsupportedOperationException("addSOAPText() not allowed for SOAP 1.1!"); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java Fri Aug 21 22:29:01 2015 @@ -21,9 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole; import org.apache.axiom.soap.impl.llom.SOAPFaultRoleImpl; @@ -33,20 +30,6 @@ public class SOAP11FaultRoleImpl extends super(factory); } - public SOAP11FaultRoleImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, false, factory); - } - - public SOAP11FaultRoleImpl(SOAPFactory factory) { - super(null, factory); - } - - public SOAP11FaultRoleImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - public void checkParent(OMElement parent) throws SOAPProcessingException { if (!(parent instanceof SOAP11FaultImpl)) { throw new SOAPProcessingException( Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java Fri Aug 21 22:29:01 2015 @@ -20,12 +20,8 @@ package org.apache.axiom.soap.impl.llom.soap11; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.om.impl.traverse.OMChildrenWithSpecificAttributeIterator; import org.apache.axiom.soap.SOAP11Constants; -import org.apache.axiom.soap.SOAPEnvelope; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP11Header; import org.apache.axiom.soap.impl.llom.SOAPHeaderImpl; @@ -38,28 +34,6 @@ public class SOAP11HeaderImpl extends SO super(factory); } - public SOAP11HeaderImpl(SOAPFactory factory) - throws SOAPProcessingException { - super(factory.getNamespace(), factory); - } - - /** @param envelope */ - public SOAP11HeaderImpl(SOAPEnvelope envelope, SOAPFactory factory) - throws SOAPProcessingException { - super(envelope, factory); - } - - /** - * Constructor SOAPHeaderImpl - * - * @param envelope - * @param builder - */ - public SOAP11HeaderImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(envelope, builder, factory); - } - public Iterator extractHeaderBlocks(String role) { return new OMChildrenWithSpecificAttributeIterator(getFirstOMChild(), new QName( Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12BodyImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12BodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12BodyImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12BodyImpl.java Fri Aug 21 22:29:01 2015 @@ -21,12 +21,8 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMException; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPConstants; -import org.apache.axiom.soap.SOAPEnvelope; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; -import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP12Body; import org.apache.axiom.soap.impl.llom.SOAPBodyImpl; @@ -35,28 +31,6 @@ public class SOAP12BodyImpl extends SOAP super(factory); } - public SOAP12BodyImpl(SOAPFactory factory) { - super(SOAPConstants.BODY_LOCAL_NAME, factory.getNamespace(), - factory); - } - - /** @param envelope */ - public SOAP12BodyImpl(SOAPEnvelope envelope, SOAPFactory factory) - throws SOAPProcessingException { - super(envelope, factory); - } - - /** - * Constructor SOAPBodyImpl - * - * @param envelope - * @param builder - */ - public SOAP12BodyImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(envelope, builder, factory); - } - public SOAPFault addFault(Exception e) throws OMException { return new SOAP12FaultImpl(this, e, (SOAPFactory)getOMFactory()); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java Fri Aug 21 22:29:01 2015 @@ -26,22 +26,19 @@ import org.apache.axiom.om.OMXMLParserWr import org.apache.axiom.om.impl.common.OMNamespaceImpl; import org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory; import org.apache.axiom.soap.SOAP12Constants; +import org.apache.axiom.soap.SOAP12Version; import org.apache.axiom.soap.SOAPBody; import org.apache.axiom.soap.SOAPEnvelope; import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultCode; -import org.apache.axiom.soap.SOAPFaultDetail; import org.apache.axiom.soap.SOAPFaultNode; import org.apache.axiom.soap.SOAPFaultReason; -import org.apache.axiom.soap.SOAPFaultRole; import org.apache.axiom.soap.SOAPFaultSubCode; import org.apache.axiom.soap.SOAPFaultText; import org.apache.axiom.soap.SOAPFaultValue; -import org.apache.axiom.soap.SOAPHeader; import org.apache.axiom.soap.SOAPHeaderBlock; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.SOAPVersion; -import org.apache.axiom.soap.SOAP12Version; import org.apache.axiom.soap.impl.common.AxiomSOAP12Factory; import org.apache.axiom.soap.impl.llom.SOAPFactoryImpl; @@ -77,66 +74,11 @@ public class SOAP12Factory extends SOAPF SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX); } - public SOAPHeader createSOAPHeader(SOAPEnvelope envelope) throws SOAPProcessingException { - return new SOAP12HeaderImpl(envelope, this); - } - - public SOAPHeader createSOAPHeader() throws SOAPProcessingException { - return new SOAP12HeaderImpl(this); - } - - public SOAPHeader createSOAPHeader(SOAPEnvelope envelope, - OMXMLParserWrapper builder) { - return new SOAP12HeaderImpl(envelope, builder, this); - } - public SOAPFault createSOAPFault(SOAPBody parent, Exception e) throws SOAPProcessingException { return new SOAP12FaultImpl(parent, e, this); } - public SOAPFault createSOAPFault(SOAPBody parent) - throws SOAPProcessingException { - return new SOAP12FaultImpl(parent, this); - } - - public SOAPFault createSOAPFault() throws SOAPProcessingException { - return new SOAP12FaultImpl(this); - } - - public SOAPFault createSOAPFault(SOAPBody parent, - OMXMLParserWrapper builder) { - return new SOAP12FaultImpl(parent, builder, this); - } - - public SOAPBody createSOAPBody(SOAPEnvelope envelope) - throws SOAPProcessingException { - return new SOAP12BodyImpl(envelope, this); - } - - public SOAPBody createSOAPBody() throws SOAPProcessingException { - return new SOAP12BodyImpl(this); - } - - public SOAPBody createSOAPBody(SOAPEnvelope envelope, - OMXMLParserWrapper builder) { - return new SOAP12BodyImpl(envelope, builder, this); - } - - public SOAPFaultCode createSOAPFaultCode(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP12FaultCodeImpl(parent, this); - } - - public SOAPFaultCode createSOAPFaultCode() throws SOAPProcessingException { - return new SOAP12FaultCodeImpl(this); - } - - public SOAPFaultCode createSOAPFaultCode(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP12FaultCodeImpl(parent, builder, this); - } - public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent) throws SOAPProcessingException { return new SOAP12FaultValueImpl(parent, this); @@ -201,20 +143,6 @@ public class SOAP12Factory extends SOAPF return new SOAP12FaultSubCodeImpl(parent, builder, this); } - public SOAPFaultReason createSOAPFaultReason(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP12FaultReasonImpl(parent, this); - } - - public SOAPFaultReason createSOAPFaultReason() throws SOAPProcessingException { - return new SOAP12FaultReasonImpl(this); - } - - public SOAPFaultReason createSOAPFaultReason(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP12FaultReasonImpl(parent, builder, this); - } - public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent) throws SOAPProcessingException { return new SOAP12FaultTextImpl(parent, this); @@ -243,35 +171,6 @@ public class SOAP12Factory extends SOAPF return new SOAP12FaultNodeImpl(parent, builder, this); } - public SOAPFaultRole createSOAPFaultRole(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP12FaultRoleImpl(parent, this); - } - - public SOAPFaultRole createSOAPFaultRole() throws SOAPProcessingException { - return new SOAP12FaultRoleImpl(this); - } - - public SOAPFaultRole createSOAPFaultRole(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP12FaultRoleImpl(parent, builder, this); - } - - public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) - throws SOAPProcessingException { - return new SOAP12FaultDetailImpl(parent, this); - } - - public SOAPFaultDetail createSOAPFaultDetail() - throws SOAPProcessingException { - return new SOAP12FaultDetailImpl(this); - } - - public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent, - OMXMLParserWrapper builder) { - return new SOAP12FaultDetailImpl(parent, builder, this); - } - public SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException { SOAPEnvelope defaultEnvelope = getDefaultEnvelope(); SOAPFault fault = createSOAPFault(defaultEnvelope.getBody()); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java Fri Aug 21 22:29:01 2015 @@ -21,10 +21,8 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.om.util.ElementHelper; import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultSubCode; import org.apache.axiom.soap.SOAPFaultValue; import org.apache.axiom.soap.SOAPProcessingException; @@ -39,27 +37,6 @@ public class SOAP12FaultCodeImpl extends super(factory); } - public SOAP12FaultCodeImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - - /** - * Constructor OMElementImpl - * - * @param parent - * @param builder - */ - public SOAP12FaultCodeImpl(SOAPFault parent, OMXMLParserWrapper builder, SOAPFactory factory) { - super(parent, builder, factory); - } - - /** @param parent */ - public SOAP12FaultCodeImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, true, factory); - } - - public void setSubCode(SOAPFaultSubCode subCode) throws SOAPProcessingException { if (!(subCode instanceof SOAP12FaultSubCodeImpl)) { throw new SOAPProcessingException( Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java Fri Aug 21 22:29:01 2015 @@ -21,7 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPProcessingException; @@ -33,20 +32,11 @@ public class SOAP12FaultDetailImpl exten super(factory); } - public SOAP12FaultDetailImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - public SOAP12FaultDetailImpl(SOAPFault parent, SOAPFactory factory) throws SOAPProcessingException { super(parent, true, factory); } - public SOAP12FaultDetailImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - public void checkParent(OMElement parent) throws SOAPProcessingException { if (!(parent instanceof SOAP12FaultImpl)) { throw new SOAPProcessingException( Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultImpl.java Fri Aug 21 22:29:01 2015 @@ -21,7 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.soap.SOAPBody; import org.apache.axiom.soap.SOAPFactory; import org.apache.axiom.soap.SOAPFault; @@ -35,30 +34,11 @@ public class SOAP12FaultImpl extends SOA super(factory); } - public SOAP12FaultImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - public SOAP12FaultImpl(SOAPBody parent, Exception e, SOAPFactory factory) throws SOAPProcessingException { super(parent, e, factory); } - public SOAP12FaultImpl(SOAPBody parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - - /** - * This is a convenience method for the SOAP Fault Impl. - * - * @param parent - */ - public SOAP12FaultImpl(SOAPBody parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, factory); - } - protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) { return new SOAP12FaultDetailImpl(fault, (SOAPFactory)getOMFactory()); Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java Fri Aug 21 22:29:01 2015 @@ -21,9 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPFaultText; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.SOAP12Constants; @@ -35,20 +32,6 @@ public class SOAP12FaultReasonImpl exten super(factory); } - public SOAP12FaultReasonImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - - public SOAP12FaultReasonImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - - public SOAP12FaultReasonImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, true, factory); - } - public void addSOAPText(SOAPFaultText soapFaultText) throws SOAPProcessingException { if (!(soapFaultText instanceof SOAP12FaultTextImpl)) { Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java Fri Aug 21 22:29:01 2015 @@ -21,9 +21,6 @@ package org.apache.axiom.soap.impl.llom. import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPFault; import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultRole; import org.apache.axiom.soap.impl.llom.SOAPFaultRoleImpl; @@ -33,20 +30,6 @@ public class SOAP12FaultRoleImpl extends super(factory); } - public SOAP12FaultRoleImpl(SOAPFault parent, SOAPFactory factory) - throws SOAPProcessingException { - super(parent, true, factory); - } - - public SOAP12FaultRoleImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - - public SOAP12FaultRoleImpl(SOAPFault parent, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(parent, builder, factory); - } - public void checkParent(OMElement parent) throws SOAPProcessingException { if (!(parent instanceof SOAP12FaultImpl)) { throw new SOAPProcessingException( Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff ============================================================================== --- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java (original) +++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java Fri Aug 21 22:29:01 2015 @@ -20,12 +20,8 @@ package org.apache.axiom.soap.impl.llom.soap12; import org.apache.axiom.om.OMFactory; -import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.axiom.om.impl.traverse.OMChildrenWithSpecificAttributeIterator; import org.apache.axiom.soap.SOAP12Constants; -import org.apache.axiom.soap.SOAPEnvelope; -import org.apache.axiom.soap.SOAPFactory; -import org.apache.axiom.soap.SOAPProcessingException; import org.apache.axiom.soap.impl.common.AxiomSOAP12Header; import org.apache.axiom.soap.impl.llom.SOAPHeaderImpl; @@ -38,27 +34,6 @@ public class SOAP12HeaderImpl extends SO super(factory); } - public SOAP12HeaderImpl(SOAPFactory factory) { - super(factory.getNamespace(), factory); - } - - /** @param envelope */ - public SOAP12HeaderImpl(SOAPEnvelope envelope, SOAPFactory factory) - throws SOAPProcessingException { - super(envelope, factory); - } - - /** - * Constructor SOAPHeaderImpl - * - * @param envelope - * @param builder - */ - public SOAP12HeaderImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder, - SOAPFactory factory) { - super(envelope, builder, factory); - } - public Iterator extractHeaderBlocks(String role) { return new OMChildrenWithSpecificAttributeIterator(getFirstOMChild(), new QName(
