You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/08/23 02:10:20 UTC
svn commit: r1697145 - in /webservices/axiom/trunk:
aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/
implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/
implementations/axiom-dom/src/main/java/org/apache/ax...
Author: veithen
Date: Sun Aug 23 00:10:19 2015
New Revision: 1697145
URL: http://svn.apache.org/r1697145
Log:
Eliminate more duplicate code in SOAPFactory implementations.
Modified:
webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP11FactorySupport.aj
webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP12FactorySupport.aj
webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultSubCodeImpl.java
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultTextImpl.java
webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultValueImpl.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPElement.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultTextImpl.java
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultValueImpl.java
Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP11FactorySupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP11FactorySupport.aj?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP11FactorySupport.aj (original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP11FactorySupport.aj Sun Aug 23 00:10:19 2015
@@ -18,8 +18,56 @@
*/
package org.apache.axiom.soap.impl.common;
+import org.apache.axiom.soap.SOAPFault;
+import org.apache.axiom.soap.SOAPFaultCode;
+import org.apache.axiom.soap.SOAPFaultNode;
+import org.apache.axiom.soap.SOAPFaultReason;
+import org.apache.axiom.soap.SOAPFaultSubCode;
+import org.apache.axiom.soap.SOAPFaultText;
+import org.apache.axiom.soap.SOAPFaultValue;
+
public aspect AxiomSOAP11FactorySupport {
public final SOAPHelper AxiomSOAP11Factory.getSOAPHelper() {
return SOAPHelper.SOAP11;
}
+
+ public final SOAPFaultValue AxiomSOAP11Factory.createSOAPFaultValue(SOAPFaultCode parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultValue AxiomSOAP11Factory.createSOAPFaultValue(SOAPFaultSubCode parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultValue AxiomSOAP11Factory.createSOAPFaultValue() {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP11Factory.createSOAPFaultSubCode(SOAPFaultCode parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP11Factory.createSOAPFaultSubCode(SOAPFaultSubCode parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP11Factory.createSOAPFaultSubCode() {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultText AxiomSOAP11Factory.createSOAPFaultText(SOAPFaultReason parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultText AxiomSOAP11Factory.createSOAPFaultText() {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultNode AxiomSOAP11Factory.createSOAPFaultNode(SOAPFault parent) {
+ throw new UnsupportedOperationException();
+ }
+
+ public final SOAPFaultNode AxiomSOAP11Factory.createSOAPFaultNode() {
+ throw new UnsupportedOperationException();
+ }
}
Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP12FactorySupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP12FactorySupport.aj?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP12FactorySupport.aj (original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAP12FactorySupport.aj Sun Aug 23 00:10:19 2015
@@ -18,8 +18,91 @@
*/
package org.apache.axiom.soap.impl.common;
+import org.apache.axiom.om.OMXMLParserWrapper;
+import org.apache.axiom.soap.SOAP12Constants;
+import org.apache.axiom.soap.SOAPFault;
+import org.apache.axiom.soap.SOAPFaultClassifier;
+import org.apache.axiom.soap.SOAPFaultCode;
+import org.apache.axiom.soap.SOAPFaultNode;
+import org.apache.axiom.soap.SOAPFaultReason;
+import org.apache.axiom.soap.SOAPFaultSubCode;
+import org.apache.axiom.soap.SOAPFaultText;
+import org.apache.axiom.soap.SOAPFaultValue;
+
public aspect AxiomSOAP12FactorySupport {
public final SOAPHelper AxiomSOAP12Factory.getSOAPHelper() {
return SOAPHelper.SOAP12;
}
+
+ private SOAPFaultValue AxiomSOAP12Factory.internalCreateSOAPFaultValue(SOAPFaultClassifier parent, OMXMLParserWrapper builder) {
+ return createSOAPElement(AxiomSOAP12FaultValue.class, parent, SOAP12Constants.QNAME_FAULT_VALUE, builder);
+ }
+
+ public final SOAPFaultValue AxiomSOAP12Factory.createSOAPFaultValue(SOAPFaultCode parent, OMXMLParserWrapper builder) {
+ return internalCreateSOAPFaultValue(parent, builder);
+ }
+
+ public final SOAPFaultValue AxiomSOAP12Factory.createSOAPFaultValue(SOAPFaultSubCode parent, OMXMLParserWrapper builder) {
+ return internalCreateSOAPFaultValue(parent, builder);
+ }
+
+ public final SOAPFaultValue AxiomSOAP12Factory.createSOAPFaultValue(SOAPFaultCode parent) {
+ return internalCreateSOAPFaultValue(parent, null);
+ }
+
+ public final SOAPFaultValue AxiomSOAP12Factory.createSOAPFaultValue(SOAPFaultSubCode parent) {
+ return internalCreateSOAPFaultValue(parent, null);
+ }
+
+ public final SOAPFaultValue AxiomSOAP12Factory.createSOAPFaultValue() {
+ return internalCreateSOAPFaultValue(null, null);
+ }
+
+ private SOAPFaultSubCode AxiomSOAP12Factory.internalCreateSOAPFaultSubCode(SOAPFaultClassifier parent, OMXMLParserWrapper builder) {
+ return createSOAPElement(AxiomSOAP12FaultSubCode.class, parent, SOAP12Constants.QNAME_FAULT_SUBCODE, builder);
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP12Factory.createSOAPFaultSubCode(SOAPFaultCode parent, OMXMLParserWrapper builder) {
+ return internalCreateSOAPFaultSubCode(parent, builder);
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP12Factory.createSOAPFaultSubCode(SOAPFaultSubCode parent, OMXMLParserWrapper builder) {
+ return internalCreateSOAPFaultSubCode(parent, builder);
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP12Factory.createSOAPFaultSubCode(SOAPFaultCode parent) {
+ return internalCreateSOAPFaultSubCode(parent, null);
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP12Factory.createSOAPFaultSubCode(SOAPFaultSubCode parent) {
+ return internalCreateSOAPFaultSubCode(parent, null);
+ }
+
+ public final SOAPFaultSubCode AxiomSOAP12Factory.createSOAPFaultSubCode() {
+ return internalCreateSOAPFaultSubCode(null, null);
+ }
+
+ public final SOAPFaultText AxiomSOAP12Factory.createSOAPFaultText(SOAPFaultReason parent, OMXMLParserWrapper builder) {
+ return createSOAPElement(AxiomSOAP12FaultText.class, parent, SOAP12Constants.QNAME_FAULT_TEXT, builder);
+ }
+
+ public final SOAPFaultText AxiomSOAP12Factory.createSOAPFaultText(SOAPFaultReason parent) {
+ return createSOAPFaultText(parent, null);
+ }
+
+ public final SOAPFaultText AxiomSOAP12Factory.createSOAPFaultText() {
+ return createSOAPFaultText(null, null);
+ }
+
+ public final SOAPFaultNode AxiomSOAP12Factory.createSOAPFaultNode(SOAPFault parent, OMXMLParserWrapper builder) {
+ return createSOAPElement(AxiomSOAP12FaultNode.class, parent, SOAP12Constants.QNAME_FAULT_NODE, builder);
+ }
+
+ public final SOAPFaultNode AxiomSOAP12Factory.createSOAPFaultNode(SOAPFault parent) {
+ return createSOAPFaultNode(parent, null);
+ }
+
+ public final SOAPFaultNode AxiomSOAP12Factory.createSOAPFaultNode() {
+ return createSOAPFaultNode(null, null);
+ }
}
Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj (original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj Sun Aug 23 00:10:19 2015
@@ -37,7 +37,7 @@ import org.apache.axiom.soap.SOAPHeaderB
import org.apache.axiom.soap.SOAPMessage;
public aspect AxiomSOAPFactorySupport {
- private final <T extends AxiomSOAPElement> T AxiomSOAPFactory.createSOAPElement(Class<T> type, OMElement parent, QName qname, OMXMLParserWrapper builder) {
+ public final <T extends AxiomSOAPElement> T AxiomSOAPFactory.createSOAPElement(Class<T> type, OMElement parent, QName qname, OMXMLParserWrapper builder) {
T element = createNSAwareElement(type);
if (builder != null) {
element.coreSetBuilder(builder);
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java Sun Aug 23 00:10:19 2015
@@ -26,12 +26,6 @@ import org.apache.axiom.soap.SOAP11Const
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.SOAPFaultNode;
-import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultSubCode;
-import org.apache.axiom.soap.SOAPFaultText;
-import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
import org.apache.axiom.soap.SOAP11Version;
@@ -61,54 +55,6 @@ public class SOAP11Factory extends SOAPF
return new SOAP11FaultImpl(parent, e, this);
}
- public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultNode createSOAPFaultNode() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
- }
-
public OMNamespace getNamespace() {
return new OMNamespaceImpl(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java Sun Aug 23 00:10:19 2015
@@ -20,20 +20,14 @@
package org.apache.axiom.soap.impl.dom.soap12;
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.dom.ParentNode;
import org.apache.axiom.om.impl.dom.factory.OMDOMMetaFactory;
import org.apache.axiom.soap.SOAP12Constants;
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.SOAPFaultNode;
import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultSubCode;
-import org.apache.axiom.soap.SOAPFaultText;
-import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
import org.apache.axiom.soap.SOAP12Version;
@@ -62,85 +56,6 @@ public class SOAP12Factory extends SOAPF
return new SOAP12FaultImpl(parent, e, this);
}
- public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(null, getNamespace(), null, this, true);
- }
-
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(parent, this);
- }
-
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultValueImpl((ParentNode)parent, null, builder, this, false);
- }
-
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(parent, this);
- }
-
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultValueImpl((ParentNode)parent, null, builder, this, false);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode() throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(null, getNamespace(), null, this, true);
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(parent, this);
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultSubCodeImpl((ParentNode)parent, null, builder, this, false);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(parent, this);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultSubCodeImpl((ParentNode)parent, null, builder, this, false);
- }
-
- public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
- return new SOAP12FaultTextImpl(null, getNamespace(), null, this, true);
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
- throws SOAPProcessingException {
- return new SOAP12FaultTextImpl(parent, this);
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultTextImpl((ParentNode)parent, null, builder, this, false);
- }
-
- public SOAPFaultNode createSOAPFaultNode() throws SOAPProcessingException {
- return new SOAP12FaultNodeImpl(null, getNamespace(), null, this, true);
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent) throws SOAPProcessingException {
- return new SOAP12FaultNodeImpl(parent, this);
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultNodeImpl((ParentNode)parent, null, builder, this, false);
- }
-
public OMNamespace getNamespace() {
return new OMNamespaceImpl(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java Sun Aug 23 00:10:19 2015
@@ -26,8 +26,6 @@ import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMXMLParserWrapper;
import org.apache.axiom.om.impl.dom.ParentNode;
import org.apache.axiom.soap.SOAP12Constants;
-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.AxiomSOAP12FaultNode;
import org.apache.axiom.soap.impl.dom.SOAPElement;
@@ -37,11 +35,6 @@ public class SOAP12FaultNodeImpl extends
super(factory);
}
- public SOAP12FaultNodeImpl(SOAPFault parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, true, factory);
- }
-
public SOAP12FaultNodeImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
OMFactory factory, boolean generateNSDecl) {
super(parentNode, SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, ns, builder, factory, generateNSDecl);
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultSubCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultSubCodeImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultSubCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultSubCodeImpl.java Sun Aug 23 00:10:19 2015
@@ -30,7 +30,6 @@ import org.apache.axiom.om.impl.dom.Pare
import org.apache.axiom.om.util.ElementHelper;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFaultCode;
import org.apache.axiom.soap.SOAPFaultSubCode;
import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPProcessingException;
@@ -45,22 +44,11 @@ public class SOAP12FaultSubCodeImpl exte
super(factory);
}
- //changed
- public SOAP12FaultSubCodeImpl(SOAPFaultCode parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, true, factory);
- }
-
public SOAP12FaultSubCodeImpl(ParentNode parentNode, OMNamespace ns,
OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl) {
super(parentNode, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, ns, builder, factory, generateNSDecl);
}
- public SOAP12FaultSubCodeImpl(SOAPFaultSubCode parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, true, factory);
- }
-
public void checkParent(OMElement parent) throws SOAPProcessingException {
if (!((parent instanceof SOAP12FaultSubCodeImpl) ||
(parent instanceof SOAP12FaultCodeImpl))) {
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultTextImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultTextImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultTextImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultTextImpl.java Sun Aug 23 00:10:19 2015
@@ -31,8 +31,6 @@ import org.apache.axiom.om.impl.dom.Docu
import org.apache.axiom.om.impl.dom.NSAwareAttribute;
import org.apache.axiom.om.impl.dom.ParentNode;
import org.apache.axiom.soap.SOAP12Constants;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFaultReason;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultText;
import org.apache.axiom.soap.impl.dom.SOAPElement;
@@ -47,14 +45,6 @@ public class SOAP12FaultTextImpl extends
this.langNamespace = factory.createOMNamespace(
SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
- }
-
- public SOAP12FaultTextImpl(SOAPFaultReason parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, true, factory);
- this.langNamespace = factory.createOMNamespace(
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
}
public SOAP12FaultTextImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultValueImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultValueImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultValueImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultValueImpl.java Sun Aug 23 00:10:19 2015
@@ -26,8 +26,6 @@ import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMXMLParserWrapper;
import org.apache.axiom.om.impl.dom.ParentNode;
import org.apache.axiom.soap.SOAP12Constants;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultValue;
import org.apache.axiom.soap.impl.dom.SOAPElement;
@@ -37,11 +35,6 @@ public class SOAP12FaultValueImpl extend
super(factory);
}
- public SOAP12FaultValueImpl(OMElement parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, true, factory);
- }
-
public SOAP12FaultValueImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
OMFactory factory, boolean generateNSDecl) {
super(parentNode, SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, ns, builder, factory, generateNSDecl);
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPElement.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPElement.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPElement.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPElement.java Sun Aug 23 00:10:19 2015
@@ -20,11 +20,8 @@
package org.apache.axiom.soap.impl.llom;
import org.apache.axiom.core.CoreParentNode;
-import org.apache.axiom.om.OMContainer;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
import org.apache.axiom.om.impl.llom.OMElementImpl;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.soap.SOAPProcessingException;
@@ -58,22 +55,6 @@ public abstract class SOAPElement extend
}
- protected SOAPElement(OMContainer parent,
- String localName,
- OMXMLParserWrapper builder,
- SOAPFactory factory) {
- super(parent, localName, null, builder, factory, false);
- }
-
- /**
- * @param localName
- * @param ns
- */
- protected SOAPElement(String localName, OMNamespace ns,
- SOAPFactory factory) {
- super(null, localName, ns, null, factory, true);
- }
-
public void internalSetParent(CoreParentNode element) {
super.internalSetParent(element);
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java Sun Aug 23 00:10:19 2015
@@ -23,8 +23,6 @@ import org.apache.axiom.om.OMCloneOption
import org.apache.axiom.om.OMContainer;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.soap.SOAPFault;
import org.apache.axiom.soap.impl.common.AxiomSOAPFaultCode;
@@ -34,15 +32,6 @@ public abstract class SOAPFaultCodeImpl
super(factory);
}
- protected SOAPFaultCodeImpl(String localName, OMNamespace ns, SOAPFactory factory) {
- super(localName, ns, factory);
- }
-
- public SOAPFaultCodeImpl(SOAPFault parent, String localName, OMXMLParserWrapper builder,
- SOAPFactory factory) {
- super(parent, localName, builder, factory);
- }
-
protected OMElement createClone(OMCloneOptions options, OMContainer targetParent) {
return ((SOAPFactory)getOMFactory()).createSOAPFaultCode((SOAPFault)targetParent);
}
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=1697145&r1=1697144&r2=1697145&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 Sun Aug 23 00:10:19 2015
@@ -28,12 +28,6 @@ import org.apache.axiom.soap.SOAP11Const
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.SOAPFaultNode;
-import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultSubCode;
-import org.apache.axiom.soap.SOAPFaultText;
-import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPHeaderBlock;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
@@ -89,54 +83,6 @@ public class SOAP11Factory extends SOAPF
return new SOAP11FaultImpl(parent, e, this);
}
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
- throw new UnsupportedOperationException();
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
- throws SOAPProcessingException {
- throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
- }
-
- public SOAPFaultNode createSOAPFaultNode() throws SOAPProcessingException {
- throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
- }
-
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/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=1697145&r1=1697144&r2=1697145&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 Sun Aug 23 00:10:19 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.SOAP12Constants;
@@ -31,11 +30,7 @@ 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.SOAPFaultNode;
import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultSubCode;
-import org.apache.axiom.soap.SOAPFaultText;
-import org.apache.axiom.soap.SOAPFaultValue;
import org.apache.axiom.soap.SOAPHeaderBlock;
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
@@ -79,20 +74,6 @@ public class SOAP12Factory extends SOAPF
return new SOAP12FaultImpl(parent, e, this);
}
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(parent, this);
- }
-
- public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(this);
- }
-
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultValueImpl(parent, builder, this);
- }
-
public SOAPHeaderBlock createSOAPHeaderBlock(OMDataSource source) {
return new SOAP12HeaderBlockImpl(this, source);
}
@@ -104,73 +85,6 @@ public class SOAP12Factory extends SOAPF
return new SOAP12HeaderBlockImpl(localName, ns, this, ds);
}
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultValueImpl(parent, this);
- }
-
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultValueImpl(parent, builder, this);
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(parent, this);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode()
- throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(this);
- }
-
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultSubCodeImpl(parent, builder, this);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
- throws SOAPProcessingException {
- return new SOAP12FaultSubCodeImpl(parent, this);
- }
-
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultSubCodeImpl(parent, builder, this);
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
- throws SOAPProcessingException {
- return new SOAP12FaultTextImpl(parent, this);
- }
-
- public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
- return new SOAP12FaultTextImpl(this);
- }
-
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultTextImpl(parent, builder, this);
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
- throws SOAPProcessingException {
- return new SOAP12FaultNodeImpl(parent, this);
- }
-
- public SOAPFaultNode createSOAPFaultNode() throws SOAPProcessingException {
- return new SOAP12FaultNodeImpl(this);
- }
-
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
- OMXMLParserWrapper builder) {
- return new SOAP12FaultNodeImpl(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/SOAP12FaultNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java Sun Aug 23 00:10:19 2015
@@ -23,8 +23,6 @@ import org.apache.axiom.om.OMCloneOption
import org.apache.axiom.om.OMContainer;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMXMLParserWrapper;
-import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.soap.SOAPFault;
import org.apache.axiom.soap.SOAPProcessingException;
@@ -36,19 +34,6 @@ public class SOAP12FaultNodeImpl extends
super(factory);
}
- public SOAP12FaultNodeImpl(SOAPFactory factory) {
- super(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, factory.getNamespace(), factory);
- }
-
- public SOAP12FaultNodeImpl(SOAPFault parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, true, factory);
- }
-
- public SOAP12FaultNodeImpl(SOAPFault parent, OMXMLParserWrapper builder, SOAPFactory factory) {
- super(parent, SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, 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/SOAP12FaultSubCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java Sun Aug 23 00:10:19 2015
@@ -25,7 +25,6 @@ import org.apache.axiom.om.OMCloneOption
import org.apache.axiom.om.OMContainer;
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.SOAP12Constants;
import org.apache.axiom.soap.SOAPFactory;
@@ -44,35 +43,6 @@ public class SOAP12FaultSubCodeImpl exte
super(factory);
}
- //changed
- public SOAP12FaultSubCodeImpl(SOAPFaultCode parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, true, factory);
- }
-
- public SOAP12FaultSubCodeImpl(SOAPFactory factory) {
- super(SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, factory.getNamespace(), factory);
- }
-
- //changed
- public SOAP12FaultSubCodeImpl(SOAPFaultCode parent,
- OMXMLParserWrapper builder,
- SOAPFactory factory) {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, builder,
- factory);
- }
-
- public SOAP12FaultSubCodeImpl(SOAPFaultSubCode parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, true, factory);
- }
-
- public SOAP12FaultSubCodeImpl(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder, SOAPFactory factory) {
- super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME, builder,
- factory);
- }
-
public void checkParent(OMElement parent) throws SOAPProcessingException {
if (!((parent instanceof SOAP12FaultSubCodeImpl) ||
(parent instanceof SOAP12FaultCodeImpl))) {
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultTextImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultTextImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultTextImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultTextImpl.java Sun Aug 23 00:10:19 2015
@@ -27,7 +27,6 @@ import org.apache.axiom.om.OMContainer;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
import org.apache.axiom.om.impl.llom.OMAttributeImpl;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axiom.soap.SOAPFactory;
@@ -46,30 +45,6 @@ public class SOAP12FaultTextImpl extends
this.langNamespace = factory.createOMNamespace(
SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
- }
-
- public SOAP12FaultTextImpl(SOAPFaultReason parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, true, factory);
- this.langNamespace = factory.createOMNamespace(
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
- }
-
- public SOAP12FaultTextImpl(SOAPFactory factory) throws SOAPProcessingException {
- super(SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, factory.getNamespace(), factory);
- this.langNamespace = factory.createOMNamespace(
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
- }
-
- public SOAP12FaultTextImpl(SOAPFaultReason parent,
- OMXMLParserWrapper builder,
- SOAPFactory factory) {
- super(parent, SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, builder, factory);
- this.langNamespace = factory.createOMNamespace(
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,
- SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
}
public void checkParent(OMElement parent) throws SOAPProcessingException {
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultValueImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultValueImpl.java?rev=1697145&r1=1697144&r2=1697145&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultValueImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultValueImpl.java Sun Aug 23 00:10:19 2015
@@ -23,8 +23,6 @@ import org.apache.axiom.om.OMCloneOption
import org.apache.axiom.om.OMContainer;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMXMLParserWrapper;
-import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.soap.SOAPFaultCode;
import org.apache.axiom.soap.SOAPFaultSubCode;
@@ -37,21 +35,6 @@ public class SOAP12FaultValueImpl extend
super(factory);
}
- public SOAP12FaultValueImpl(OMElement parent, SOAPFactory factory)
- throws SOAPProcessingException {
- super(parent, SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, true, factory);
- }
-
- public SOAP12FaultValueImpl(SOAPFactory factory)
- throws SOAPProcessingException {
- super(SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, factory.getNamespace(), factory);
- }
-
- public SOAP12FaultValueImpl(OMElement parent, OMXMLParserWrapper builder,
- SOAPFactory factory) {
- super(parent, SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, builder, factory);
- }
-
public void checkParent(OMElement parent) throws SOAPProcessingException {
if (!((parent instanceof SOAP12FaultSubCodeImpl) ||
(parent instanceof SOAP12FaultCodeImpl))) {