ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1703275 [3/3] - in /webservices/axiom/trunk: aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/ aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/ axiom-api/src/main/java/org/apache/axiom/om/ implementations...
Date Tue, 15 Sep 2015 19:21:47 GMT
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java Tue Sep 15 19:21:46 2015
@@ -19,13 +19,10 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomElement;
 
 /** Class OMElementImpl */
 public class OMElementImpl extends OMNodeImpl implements AxiomElement {
-    public OMElementImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }
 

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMEntityReferenceImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMEntityReferenceImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMEntityReferenceImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMEntityReferenceImpl.java Tue Sep 15 19:21:46 2015
@@ -18,11 +18,8 @@
  */
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomEntityReference;
 
 public class OMEntityReferenceImpl extends OMLeafNode implements AxiomEntityReference {
-    public OMEntityReferenceImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMInformationItemImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMInformationItemImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMInformationItemImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMInformationItemImpl.java Tue Sep 15 19:21:46 2015
@@ -18,7 +18,18 @@
  */
 package org.apache.axiom.om.impl.llom;
 
+import org.apache.axiom.core.NodeFactory;
+import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.impl.common.AxiomInformationItem;
+import org.apache.axiom.om.impl.llom.factory.LLOMNodeFactory;
+import org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory;
 
 public abstract class OMInformationItemImpl implements AxiomInformationItem {
+    public NodeFactory coreGetNodeFactory() {
+        return LLOMNodeFactory.INSTANCE;
+    }
+
+    public final OMMetaFactory getMetaFactory() {
+        return OMLinkedListMetaFactory.INSTANCE;
+    }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMLeafNode.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMLeafNode.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMLeafNode.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMLeafNode.java Tue Sep 15 19:21:46 2015
@@ -18,11 +18,8 @@
  */
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomLeafNode;
 
 public abstract class OMLeafNode extends OMNodeImpl implements AxiomLeafNode {
-    public OMLeafNode(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java Tue Sep 15 19:21:46 2015
@@ -19,17 +19,9 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomChildNode;
 
 /** Class OMNodeImpl */
 public abstract class OMNodeImpl extends OMSerializableImpl implements AxiomChildNode {
-    /**
-     * Constructor OMNodeImpl
-     *
-     * @param factory The <code>OMFactory</code> that created this
-     */
-    public OMNodeImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.java Tue Sep 15 19:21:46 2015
@@ -19,11 +19,8 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomProcessingInstruction;
 
 public class OMProcessingInstructionImpl extends OMLeafNode implements AxiomProcessingInstruction {
-    public OMProcessingInstructionImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSerializableImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSerializableImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSerializableImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSerializableImpl.java Tue Sep 15 19:21:46 2015
@@ -19,21 +19,8 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomSerializable;
-import org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder;
 
 public abstract class OMSerializableImpl extends OMInformationItemImpl implements AxiomSerializable {
-    private OMFactory factory;
 
-    public OMSerializableImpl(OMFactory factory) {
-        this.factory = factory;
-    }
-    
-    public final OMFactory getOMFactory() {
-        if (factory == null) {
-            factory = ((StAXSOAPModelBuilder)getBuilder()).getSOAPFactory();
-        }
-        return factory;
-    }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java Tue Sep 15 19:21:46 2015
@@ -19,11 +19,8 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomSourcedElement;
 
 public class OMSourcedElementImpl extends OMElementImpl implements AxiomSourcedElement {
-    public OMSourcedElementImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java Tue Sep 15 19:21:46 2015
@@ -19,11 +19,8 @@
 
 package org.apache.axiom.om.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.AxiomText;
 
 public abstract class OMTextImpl extends OMLeafNode implements AxiomText {
-    public OMTextImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Added: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/LLOMNodeFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/LLOMNodeFactory.java?rev=1703275&view=auto
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/LLOMNodeFactory.java (added)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/LLOMNodeFactory.java Tue Sep 15 19:21:46 2015
@@ -0,0 +1,182 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axiom.om.impl.llom.factory;
+
+import org.apache.axiom.core.CoreCDATASection;
+import org.apache.axiom.core.CoreCharacterDataNode;
+import org.apache.axiom.core.CoreComment;
+import org.apache.axiom.core.CoreDocument;
+import org.apache.axiom.core.CoreDocumentTypeDeclaration;
+import org.apache.axiom.core.CoreEntityReference;
+import org.apache.axiom.core.CoreNSAwareAttribute;
+import org.apache.axiom.core.CoreNSAwareElement;
+import org.apache.axiom.core.CoreNamespaceDeclaration;
+import org.apache.axiom.core.CoreNode;
+import org.apache.axiom.core.CoreProcessingInstruction;
+import org.apache.axiom.core.NodeFactory;
+import org.apache.axiom.om.impl.common.AxiomAttribute;
+import org.apache.axiom.om.impl.common.AxiomCDATASection;
+import org.apache.axiom.om.impl.common.AxiomCharacterDataNode;
+import org.apache.axiom.om.impl.common.AxiomComment;
+import org.apache.axiom.om.impl.common.AxiomDocType;
+import org.apache.axiom.om.impl.common.AxiomDocument;
+import org.apache.axiom.om.impl.common.AxiomElement;
+import org.apache.axiom.om.impl.common.AxiomEntityReference;
+import org.apache.axiom.om.impl.common.AxiomNamespaceDeclaration;
+import org.apache.axiom.om.impl.common.AxiomProcessingInstruction;
+import org.apache.axiom.om.impl.common.AxiomSourcedElement;
+import org.apache.axiom.om.impl.llom.CDATASectionImpl;
+import org.apache.axiom.om.impl.llom.CharacterDataImpl;
+import org.apache.axiom.om.impl.llom.NamespaceDeclaration;
+import org.apache.axiom.om.impl.llom.OMAttributeImpl;
+import org.apache.axiom.om.impl.llom.OMCommentImpl;
+import org.apache.axiom.om.impl.llom.OMDocTypeImpl;
+import org.apache.axiom.om.impl.llom.OMDocumentImpl;
+import org.apache.axiom.om.impl.llom.OMElementImpl;
+import org.apache.axiom.om.impl.llom.OMEntityReferenceImpl;
+import org.apache.axiom.om.impl.llom.OMProcessingInstructionImpl;
+import org.apache.axiom.om.impl.llom.OMSourcedElementImpl;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Envelope;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Header;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11HeaderBlock;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Envelope;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultNode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultSubCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultText;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultValue;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Header;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12HeaderBlock;
+import org.apache.axiom.soap.impl.common.AxiomSOAPMessage;
+import org.apache.axiom.soap.impl.llom.SOAPMessageImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11BodyImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11EnvelopeImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultDetailImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultReasonImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultRoleImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderBlockImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12BodyImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12EnvelopeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultDetailImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultNodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultReasonImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultRoleImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultSubCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultTextImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultValueImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12HeaderBlockImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12HeaderImpl;
+
+public final class LLOMNodeFactory implements NodeFactory {
+    public static LLOMNodeFactory INSTANCE = new LLOMNodeFactory();
+    
+    private LLOMNodeFactory() {}
+
+    public <T extends CoreNode> T createNode(Class<T> type) {
+        CoreNode node;
+        if (type == CoreCDATASection.class || type == AxiomCDATASection.class) {
+            node = new CDATASectionImpl();
+        } else if (type == CoreCharacterDataNode.class || type == AxiomCharacterDataNode.class) {
+            node = new CharacterDataImpl();
+        } else if (type == CoreComment.class || type == AxiomComment.class) {
+            node = new OMCommentImpl();
+        } else if (type == CoreDocument.class || type == AxiomDocument.class) {
+            node = new OMDocumentImpl();
+        } else if (type == CoreDocumentTypeDeclaration.class || type == AxiomDocType.class) {
+            node = new OMDocTypeImpl();
+        } else if (type == CoreEntityReference.class || type == AxiomEntityReference.class) {
+            node = new OMEntityReferenceImpl();
+        } else if (type == CoreNamespaceDeclaration.class || type == AxiomNamespaceDeclaration.class) {
+            node = new NamespaceDeclaration();
+        } else if (type == CoreNSAwareAttribute.class || type == AxiomAttribute.class) {
+            node = new OMAttributeImpl();
+        } else if (type == CoreNSAwareElement.class || type == AxiomElement.class) {
+            node = new OMElementImpl();
+        } else if (type == CoreProcessingInstruction.class || type == AxiomProcessingInstruction.class) {
+            node = new OMProcessingInstructionImpl();
+        } else if (type == AxiomSourcedElement.class) {
+            node = new OMSourcedElementImpl();
+        } else if (type == AxiomSOAPMessage.class) {
+            node = new SOAPMessageImpl();
+        } else if (type == AxiomSOAP11Envelope.class) {
+            node = new SOAP11EnvelopeImpl();
+        } else if (type == AxiomSOAP12Envelope.class) {
+            node = new SOAP12EnvelopeImpl();
+        } else if (type == AxiomSOAP11Header.class) {
+            node = new SOAP11HeaderImpl();
+        } else if (type == AxiomSOAP12Header.class) {
+            node = new SOAP12HeaderImpl();
+        } else if (type == AxiomSOAP11HeaderBlock.class) {
+            node = new SOAP11HeaderBlockImpl();
+        } else if (type == AxiomSOAP12HeaderBlock.class) {
+            node = new SOAP12HeaderBlockImpl();
+        } else if (type == AxiomSOAP11Body.class) {
+            node = new SOAP11BodyImpl();
+        } else if (type == AxiomSOAP12Body.class) {
+            node = new SOAP12BodyImpl();
+        } else if (type == AxiomSOAP11Fault.class) {
+            node = new SOAP11FaultImpl();
+        } else if (type == AxiomSOAP12Fault.class) {
+            node = new SOAP12FaultImpl();
+        } else if (type == AxiomSOAP11FaultCode.class) {
+            node = new SOAP11FaultCodeImpl();
+        } else if (type == AxiomSOAP12FaultCode.class) {
+            node = new SOAP12FaultCodeImpl();
+        } else if (type == AxiomSOAP12FaultValue.class) {
+            node = new SOAP12FaultValueImpl();
+        } else if (type == AxiomSOAP12FaultSubCode.class) {
+            node = new SOAP12FaultSubCodeImpl();
+        } else if (type == AxiomSOAP11FaultReason.class) {
+            node = new SOAP11FaultReasonImpl();
+        } else if (type == AxiomSOAP12FaultReason.class) {
+            node = new SOAP12FaultReasonImpl();
+        } else if (type == AxiomSOAP12FaultText.class) {
+            node = new SOAP12FaultTextImpl();
+        } else if (type == AxiomSOAP12FaultNode.class) {
+            node = new SOAP12FaultNodeImpl();
+        } else if (type == AxiomSOAP11FaultRole.class) {
+            node = new SOAP11FaultRoleImpl();
+        } else if (type == AxiomSOAP12FaultRole.class) {
+            node = new SOAP12FaultRoleImpl();
+        } else if (type == AxiomSOAP11FaultDetail.class) {
+            node = new SOAP11FaultDetailImpl();
+        } else if (type == AxiomSOAP12FaultDetail.class) {
+            node = new SOAP12FaultDetailImpl();
+        } else {
+            throw new IllegalArgumentException();
+        }
+        return type.cast(node);
+    }
+}

Propchange: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/LLOMNodeFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java Tue Sep 15 19:21:46 2015
@@ -120,78 +120,6 @@ public class OMLinkedListImplFactory imp
     }
 
     public <T extends CoreNode> T createNode(Class<T> type) {
-        CoreNode node;
-        if (type == CoreCDATASection.class || type == AxiomCDATASection.class) {
-            node = new CDATASectionImpl(this);
-        } else if (type == CoreCharacterDataNode.class || type == AxiomCharacterDataNode.class) {
-            node = new CharacterDataImpl(this);
-        } else if (type == CoreComment.class || type == AxiomComment.class) {
-            node = new OMCommentImpl(this);
-        } else if (type == CoreDocument.class || type == AxiomDocument.class) {
-            node = new OMDocumentImpl(this);
-        } else if (type == CoreDocumentTypeDeclaration.class || type == AxiomDocType.class) {
-            node = new OMDocTypeImpl(this);
-        } else if (type == CoreEntityReference.class || type == AxiomEntityReference.class) {
-            node = new OMEntityReferenceImpl(this);
-        } else if (type == CoreNamespaceDeclaration.class || type == AxiomNamespaceDeclaration.class) {
-            node = new NamespaceDeclaration(this);
-        } else if (type == CoreNSAwareAttribute.class || type == AxiomAttribute.class) {
-            node = new OMAttributeImpl(this);
-        } else if (type == CoreNSAwareElement.class || type == AxiomElement.class) {
-            node = new OMElementImpl(this);
-        } else if (type == CoreProcessingInstruction.class || type == AxiomProcessingInstruction.class) {
-            node = new OMProcessingInstructionImpl(this);
-        } else if (type == AxiomSourcedElement.class) {
-            node = new OMSourcedElementImpl(this);
-        } else if (type == AxiomSOAPMessage.class) {
-            node = new SOAPMessageImpl(this);
-        } else if (type == AxiomSOAP11Envelope.class) {
-            node = new SOAP11EnvelopeImpl(this);
-        } else if (type == AxiomSOAP12Envelope.class) {
-            node = new SOAP12EnvelopeImpl(this);
-        } else if (type == AxiomSOAP11Header.class) {
-            node = new SOAP11HeaderImpl(this);
-        } else if (type == AxiomSOAP12Header.class) {
-            node = new SOAP12HeaderImpl(this);
-        } else if (type == AxiomSOAP11HeaderBlock.class) {
-            node = new SOAP11HeaderBlockImpl(this);
-        } else if (type == AxiomSOAP12HeaderBlock.class) {
-            node = new SOAP12HeaderBlockImpl(this);
-        } else if (type == AxiomSOAP11Body.class) {
-            node = new SOAP11BodyImpl(this);
-        } else if (type == AxiomSOAP12Body.class) {
-            node = new SOAP12BodyImpl(this);
-        } else if (type == AxiomSOAP11Fault.class) {
-            node = new SOAP11FaultImpl(this);
-        } else if (type == AxiomSOAP12Fault.class) {
-            node = new SOAP12FaultImpl(this);
-        } else if (type == AxiomSOAP11FaultCode.class) {
-            node = new SOAP11FaultCodeImpl(this);
-        } else if (type == AxiomSOAP12FaultCode.class) {
-            node = new SOAP12FaultCodeImpl(this);
-        } else if (type == AxiomSOAP12FaultValue.class) {
-            node = new SOAP12FaultValueImpl(this);
-        } else if (type == AxiomSOAP12FaultSubCode.class) {
-            node = new SOAP12FaultSubCodeImpl(this);
-        } else if (type == AxiomSOAP11FaultReason.class) {
-            node = new SOAP11FaultReasonImpl(this);
-        } else if (type == AxiomSOAP12FaultReason.class) {
-            node = new SOAP12FaultReasonImpl(this);
-        } else if (type == AxiomSOAP12FaultText.class) {
-            node = new SOAP12FaultTextImpl(this);
-        } else if (type == AxiomSOAP12FaultNode.class) {
-            node = new SOAP12FaultNodeImpl(this);
-        } else if (type == AxiomSOAP11FaultRole.class) {
-            node = new SOAP11FaultRoleImpl(this);
-        } else if (type == AxiomSOAP12FaultRole.class) {
-            node = new SOAP12FaultRoleImpl(this);
-        } else if (type == AxiomSOAP11FaultDetail.class) {
-            node = new SOAP11FaultDetailImpl(this);
-        } else if (type == AxiomSOAP12FaultDetail.class) {
-            node = new SOAP12FaultDetailImpl(this);
-        } else {
-            throw new IllegalArgumentException();
-        }
-        return type.cast(node);
+        return LLOMNodeFactory.INSTANCE.createNode(type);
     }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactory.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactory.java Tue Sep 15 19:21:46 2015
@@ -23,7 +23,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAPMessage;
-import org.apache.axiom.soap.impl.llom.SOAPMessageImpl;
 import org.apache.axiom.soap.impl.llom.soap11.SOAP11Factory;
 import org.apache.axiom.soap.impl.llom.soap12.SOAP12Factory;
 
@@ -31,10 +30,14 @@ import org.apache.axiom.soap.impl.llom.s
  * Meta factory for the linked list OM implementation.
  */
 public class OMLinkedListMetaFactory extends AbstractOMMetaFactory {
+    public static final OMLinkedListMetaFactory INSTANCE = new OMLinkedListMetaFactory();
+    
     private final OMFactory omFactory = new OMLinkedListImplFactory(this);
     private final SOAPFactory soap11Factory = new SOAP11Factory(this);
     private final SOAPFactory soap12Factory = new SOAP12Factory(this);
     
+    private OMLinkedListMetaFactory() {}
+    
     public OMFactory getOMFactory() {
         return omFactory;
     }
@@ -48,6 +51,6 @@ public class OMLinkedListMetaFactory ext
     }
 
     public AxiomSOAPMessage createSOAPMessage() {
-        return new SOAPMessageImpl(null);
+        return LLOMNodeFactory.INSTANCE.createNode(AxiomSOAPMessage.class);
     }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactoryLoader.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactoryLoader.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactoryLoader.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListMetaFactoryLoader.java Tue Sep 15 19:21:46 2015
@@ -25,6 +25,6 @@ import org.apache.axiom.om.OMMetaFactory
 
 public class OMLinkedListMetaFactoryLoader implements OMMetaFactoryLoader {
     public OMMetaFactory load(Map properties) {
-        return new OMLinkedListMetaFactory();
+        return OMLinkedListMetaFactory.INSTANCE;
     }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java Tue Sep 15 19:21:46 2015
@@ -42,10 +42,6 @@ public abstract class SOAPBodyImpl exten
     private String lookAheadLocalName = null;
     private OMNamespace lookAheadNS = null;
 
-    public SOAPBodyImpl(OMFactory factory) {
-        super(factory);
-    }
-
     /**
      * Indicates whether a <code>SOAPFault</code> object exists in this <code>SOAPBody</code>
      * object.

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -21,15 +21,10 @@ package org.apache.axiom.soap.impl.llom;
 
 import org.apache.axiom.core.CoreParentNode;
 import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.llom.OMElementImpl;
 import org.apache.axiom.soap.impl.common.AxiomSOAPElement;
 
 public abstract class SOAPElement extends OMElementImpl implements AxiomSOAPElement {
-    public SOAPElement(OMFactory factory) {
-        super(factory);
-    }
-
     public void internalSetParent(CoreParentNode element) {
         super.internalSetParent(element);
 

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPEnvelopeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPEnvelopeImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPEnvelopeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPEnvelopeImpl.java Tue Sep 15 19:21:46 2015
@@ -50,10 +50,6 @@ public abstract class SOAPEnvelopeImpl e
         implements AxiomSOAPEnvelope, OMConstants {
     private static final Log log = LogFactory.getLog(SOAPEnvelopeImpl.class);
 
-    public SOAPEnvelopeImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public SOAPVersion getVersion() {
         return ((SOAPFactory)getOMFactory()).getSOAPVersion();
     }

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -23,7 +23,5 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultCode;
 
 public abstract class SOAPFaultCodeImpl extends SOAPElement implements AxiomSOAPFaultCode {
-    public SOAPFaultCodeImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java Tue Sep 15 19:21:46 2015
@@ -19,11 +19,8 @@
 
 package org.apache.axiom.soap.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultDetail;
 
 public abstract class SOAPFaultDetailImpl extends SOAPElement implements AxiomSOAPFaultDetail {
-    public SOAPFaultDetailImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java Tue Sep 15 19:21:46 2015
@@ -19,11 +19,8 @@
 
 package org.apache.axiom.soap.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFault;
 
 public abstract class SOAPFaultImpl extends SOAPElement implements AxiomSOAPFault {
-    public SOAPFaultImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java Tue Sep 15 19:21:46 2015
@@ -19,7 +19,6 @@
 
 package org.apache.axiom.soap.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNode;
 import org.apache.axiom.soap.SOAPFaultText;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultReason;
@@ -29,10 +28,6 @@ import java.util.Iterator;
 import java.util.List;
 
 public abstract class SOAPFaultReasonImpl extends SOAPElement implements AxiomSOAPFaultReason {
-    public SOAPFaultReasonImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public List getAllSoapTexts() {
         List faultTexts = new ArrayList(1);
         Iterator childrenIter = this.getChildren();

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java Tue Sep 15 19:21:46 2015
@@ -19,13 +19,8 @@
 
 package org.apache.axiom.soap.impl.llom;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultRole;
 
-public abstract class SOAPFaultRoleImpl extends SOAPElement
-        implements AxiomSOAPFaultRole {
+public abstract class SOAPFaultRoleImpl extends SOAPElement implements AxiomSOAPFaultRole {
 
-    public SOAPFaultRoleImpl(OMFactory factory) {
-        super(factory);
-    }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderBlockImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderBlockImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderBlockImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderBlockImpl.java Tue Sep 15 19:21:46 2015
@@ -21,18 +21,12 @@ package org.apache.axiom.soap.impl.llom;
 
 import org.apache.axiom.core.CoreParentNode;
 import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.llom.OMSourcedElementImpl;
 import org.apache.axiom.soap.impl.common.AxiomSOAPHeaderBlock;
 
 /** Class SOAPHeaderBlockImpl */
 public abstract class SOAPHeaderBlockImpl extends OMSourcedElementImpl
         implements AxiomSOAPHeaderBlock {
-
-    public SOAPHeaderBlockImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void internalSetParent(CoreParentNode element) {
         super.internalSetParent(element);
 

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -48,10 +48,6 @@ import javax.xml.namespace.QName;
 public abstract class SOAPHeaderImpl extends SOAPElement implements AxiomSOAPHeader {
     private static final Log log = LogFactory.getLog(SOAPHeaderImpl.class);
     
-    public SOAPHeaderImpl(OMFactory factory) {
-        super(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/SOAPMessageImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPMessageImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPMessageImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPMessageImpl.java Tue Sep 15 19:21:46 2015
@@ -21,17 +21,12 @@ package org.apache.axiom.soap.impl.llom;
 
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMException;
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.impl.llom.OMDocumentImpl;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPMessage;
 
 public class SOAPMessageImpl extends OMDocumentImpl implements AxiomSOAPMessage {
-    public SOAPMessageImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public SOAPEnvelope getSOAPEnvelope() throws SOAPProcessingException {
         return (SOAPEnvelope) getOMDocumentElement();
     }

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -19,12 +19,9 @@
 
 package org.apache.axiom.soap.impl.llom.soap11;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11Body;
 import org.apache.axiom.soap.impl.llom.SOAPBodyImpl;
 
 public class SOAP11BodyImpl extends SOAPBodyImpl implements AxiomSOAP11Body {
-    public SOAP11BodyImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11EnvelopeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11EnvelopeImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11EnvelopeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11EnvelopeImpl.java Tue Sep 15 19:21:46 2015
@@ -18,12 +18,9 @@
  */
 package org.apache.axiom.soap.impl.llom.soap11;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11Envelope;
 import org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl;
 
 public class SOAP11EnvelopeImpl extends SOAPEnvelopeImpl implements AxiomSOAP11Envelope {
-    public SOAP11EnvelopeImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -30,10 +30,6 @@ import org.apache.axiom.soap.impl.llom.S
 import javax.xml.namespace.QName;
 
 public class SOAP11FaultCodeImpl extends SOAPFaultCodeImpl implements AxiomSOAP11FaultCode {
-    public SOAP11FaultCodeImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultDetailImpl;
 
 public class SOAP11FaultDetailImpl extends SOAPFaultDetailImpl implements AxiomSOAP11FaultDetail {
-    public SOAP11FaultDetailImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultImpl;
 
 public class SOAP11FaultImpl extends SOAPFaultImpl implements AxiomSOAP11Fault {
-    public SOAP11FaultImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP11BodyImpl)) {
             throw new SOAPProcessingException(

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -27,10 +27,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultReasonImpl;
 
 public class SOAP11FaultReasonImpl extends SOAPFaultReasonImpl implements AxiomSOAP11FaultReason {
-    public SOAP11FaultReasonImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultRoleImpl;
 
 public class SOAP11FaultRoleImpl extends SOAPFaultRoleImpl implements AxiomSOAP11FaultRole {
-    public SOAP11FaultRoleImpl(OMFactory factory) {
-        super(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/SOAP11HeaderBlockImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderBlockImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderBlockImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderBlockImpl.java Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPHeaderBlockImpl;
 
 public class SOAP11HeaderBlockImpl extends SOAPHeaderBlockImpl implements AxiomSOAP11HeaderBlock {
-    public SOAP11HeaderBlockImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP11HeaderImpl)) {
             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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -30,10 +30,6 @@ import javax.xml.namespace.QName;
 import java.util.Iterator;
 
 public class SOAP11HeaderImpl extends SOAPHeaderImpl implements AxiomSOAP11Header {
-    public SOAP11HeaderImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -19,12 +19,9 @@
 
 package org.apache.axiom.soap.impl.llom.soap12;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12Body;
 import org.apache.axiom.soap.impl.llom.SOAPBodyImpl;
 
 public class SOAP12BodyImpl extends SOAPBodyImpl implements AxiomSOAP12Body {
-    public SOAP12BodyImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12EnvelopeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12EnvelopeImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12EnvelopeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12EnvelopeImpl.java Tue Sep 15 19:21:46 2015
@@ -18,12 +18,9 @@
  */
 package org.apache.axiom.soap.impl.llom.soap12;
 
-import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12Envelope;
 import org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl;
 
 public class SOAP12EnvelopeImpl extends SOAPEnvelopeImpl implements AxiomSOAP12Envelope {
-    public SOAP12EnvelopeImpl(OMFactory factory) {
-        super(factory);
-    }
+
 }

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -33,10 +33,6 @@ import org.apache.axiom.soap.impl.llom.S
 import javax.xml.namespace.QName;
 
 public class SOAP12FaultCodeImpl extends SOAPFaultCodeImpl implements AxiomSOAP12FaultCode {
-    public SOAP12FaultCodeImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultDetailImpl;
 
 public class SOAP12FaultDetailImpl extends SOAPFaultDetailImpl implements AxiomSOAP12FaultDetail {
-    public SOAP12FaultDetailImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultImpl;
 
 public class SOAP12FaultImpl extends SOAPFaultImpl implements AxiomSOAP12Fault {
-    public SOAP12FaultImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP12BodyImpl)) {
             throw new SOAPProcessingException(

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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPElement;
 
 public class SOAP12FaultNodeImpl extends SOAPElement implements AxiomSOAP12FaultNode {
-    public SOAP12FaultNodeImpl(OMFactory factory) {
-        super(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/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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -28,10 +28,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultReasonImpl;
 
 public class SOAP12FaultReasonImpl extends SOAPFaultReasonImpl implements AxiomSOAP12FaultReason {
-    public SOAP12FaultReasonImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPFaultRoleImpl;
 
 public class SOAP12FaultRoleImpl extends SOAPFaultRoleImpl implements AxiomSOAP12FaultRole {
-    public SOAP12FaultRoleImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -36,10 +36,6 @@ public class SOAP12FaultSubCodeImpl exte
     private SOAPFaultValue value;
     private SOAPFaultSubCode subCode;
     
-    public SOAP12FaultSubCodeImpl(OMFactory factory) {
-        super(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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPElement;
 
 public class SOAP12FaultTextImpl extends SOAPElement implements AxiomSOAP12FaultText {
-    public SOAP12FaultTextImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP12FaultReasonImpl)) {
             throw new 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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPElement;
 
 public class SOAP12FaultValueImpl extends SOAPElement implements AxiomSOAP12FaultValue {
-    public SOAP12FaultValueImpl(OMFactory factory) {
-        super(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/SOAP12HeaderBlockImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java Tue Sep 15 19:21:46 2015
@@ -26,10 +26,6 @@ import org.apache.axiom.soap.impl.common
 import org.apache.axiom.soap.impl.llom.SOAPHeaderBlockImpl;
 
 public class SOAP12HeaderBlockImpl extends SOAPHeaderBlockImpl implements AxiomSOAP12HeaderBlock {
-    public SOAP12HeaderBlockImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP12HeaderImpl)) {
             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=1703275&r1=1703274&r2=1703275&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 Tue Sep 15 19:21:46 2015
@@ -30,10 +30,6 @@ import javax.xml.namespace.QName;
 import java.util.Iterator;
 
 public class SOAP12HeaderImpl extends SOAPHeaderImpl implements AxiomSOAP12Header {
-    public SOAP12HeaderImpl(OMFactory factory) {
-        super(factory);
-    }
-
     public Iterator extractHeaderBlocks(String role) {
         return new OMChildrenWithSpecificAttributeIterator(getFirstOMChild(),
                                                            new QName(

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplSerializationTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplSerializationTest.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplSerializationTest.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplSerializationTest.java Tue Sep 15 19:21:46 2015
@@ -24,6 +24,6 @@ import org.apache.axiom.om.impl.llom.fac
 
 public class OMDocumentImplSerializationTest extends OMDocumentSerilizationTestBase {
     public OMDocumentImplSerializationTest() {
-        super(new OMLinkedListMetaFactory());
+        super(OMLinkedListMetaFactory.INSTANCE);
     }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplTest.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplTest.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMDocumentImplTest.java Tue Sep 15 19:21:46 2015
@@ -24,6 +24,6 @@ import org.apache.axiom.om.impl.llom.fac
 
 public class OMDocumentImplTest extends OMDocumentTestBase {
     public OMDocumentImplTest() {
-        super(new OMLinkedListMetaFactory());
+        super(OMLinkedListMetaFactory.INSTANCE);
     }
 }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java Tue Sep 15 19:21:46 2015
@@ -34,7 +34,7 @@ import org.apache.axiom.ts.om.sourcedele
 
 public class OMImplementationTest extends TestCase {
     public static TestSuite suite() {
-        OMTestSuiteBuilder builder = new OMTestSuiteBuilder(new OMLinkedListMetaFactory());
+        OMTestSuiteBuilder builder = new OMTestSuiteBuilder(OMLinkedListMetaFactory.INSTANCE);
         // TODO: Axiom should throw an exception if an attempt is made to create a cyclic parent-child relationship
         builder.exclude(TestInsertSiblingAfterOnChild.class);
         builder.exclude(TestInsertSiblingBeforeOnChild.class);

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/soap/impl/llom/SOAPImplementationTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/soap/impl/llom/SOAPImplementationTest.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/soap/impl/llom/SOAPImplementationTest.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/soap/impl/llom/SOAPImplementationTest.java Tue Sep 15 19:21:46 2015
@@ -27,7 +27,7 @@ import org.apache.axiom.ts.soap.envelope
 
 public class SOAPImplementationTest extends TestCase {
     public static TestSuite suite() {
-        SOAPTestSuiteBuilder builder = new SOAPTestSuiteBuilder(new OMLinkedListMetaFactory(), true, true);
+        SOAPTestSuiteBuilder builder = new SOAPTestSuiteBuilder(OMLinkedListMetaFactory.INSTANCE, true, true);
         
         // TODO
         builder.exclude(TestClone.class, "(message=soap/soap11/soapfault2.xml)");

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMInformationItem.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMInformationItem.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMInformationItem.java (original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMInformationItem.java Tue Sep 15 19:21:46 2015
@@ -18,8 +18,10 @@
  */
 package org.apache.abdera.parser.stax;
 
+import org.apache.axiom.core.NodeFactory;
 import org.apache.axiom.fom.AbderaNode;
 import org.apache.axiom.om.OMFactory;
+import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.impl.common.AxiomInformationItem;
 
 abstract class FOMInformationItem implements AxiomInformationItem, AbderaNode {
@@ -29,6 +31,14 @@ abstract class FOMInformationItem implem
         this.factory = factory;
     }
 
+    public final NodeFactory coreGetNodeFactory() {
+        return (NodeFactory)factory;
+    }
+
+    public final OMMetaFactory getMetaFactory() {
+        return FOMMetaFactory.INSTANCE;
+    }
+
     public final OMFactory getOMFactory() {
         return factory;
     }

Modified: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md (original)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md Tue Sep 15 19:21:46 2015
@@ -1,11 +1,38 @@
 Apache Axiom 1.2.16 Release Note
 --------------------------------
 
-Highlights in this release:
+Axiom 1.2.16 comes with the following new features:
 
-*   DOOM now has `OMSourcedElement` support.
+*   `OMSourcedElement` support has been extended to DOOM. This is an important step towards
+    full feature parity between LLOM and DOOM.
 
 *   Axiom now ships a drop-in replacement for `abdera-parser`, so that the latest Axiom
     version can be used together with Abdera 1.1.3. See [here][1] for more details.
 
+### Changes in this release
+
+*   The semantics of the `OMInformationItem#getOMFactory()` method have slightly changed in Axiom
+    1.2.16. In previous versions, `getOMFactory()` returned the `OMFactory` instance that was used
+    to create the information item. This meant that e.g. on an `OMText` node created using a
+    `SOAPFactory` instance, that method would return that exact same `SOAPFactory` instance. In
+    Axiom 1.2.16, `getOMFactory()` returns the `OMFactory` or `SOAPFactory` instance corresponding
+    to the type of information item. For plain XML information items created using one of the
+    methods defined by `OMFactory` (such as `OMText`, `OMAttribute`, as well as `OMElement`
+    instances that don't implement any SOAP specific interfaces), this will always be the
+    `OMFactory` instance returned by `OMMetaFactory#getOMFactory()` (and never a `SOAPFactory`
+    instance). For information items created using one of the methods defined by `SOAPFactory` (i.e.
+    `OMElement` instances implementing one of the SOAP interfaces, as well as `SOAPMessage`
+    instances), nothing changes with respect to previous Axiom versions, and `getOMFactory()` will
+    return the `SOAPFactory` instance corresponding to the SOAP version of the information item.
+
+    The rationale for this change is that it allows to eliminate the `factory` attribute from all
+    classes (except for the `SOAPMessage` implementations). It also enables significant
+    simplification of the internal implementation code.
+
+    At the same time, some of the legacy default constructors have been removed from the
+    `OMFactory`, `SOAPFactory` and `OMMetaFactory` implementations. Note that they are not part of
+    the public API, but considered internal implementation details. Application code should always
+    use the `OMAbstractFactory` APIs to get references to factory instances, and never refer to
+    their implementation classes directly.
+
 [1]: ../implementations/fom-impl/index.html

Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/message/TestCloneIncomplete.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/message/TestCloneIncomplete.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/message/TestCloneIncomplete.java (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/message/TestCloneIncomplete.java Tue Sep 15 19:21:46 2015
@@ -49,10 +49,10 @@ public class TestCloneIncomplete extends
         OMInformationItem clone = message.clone(options);
         if (preserveModel) {
             assertTrue(clone instanceof SOAPMessage);
+            assertSame(soapFactory, clone.getOMFactory());
         } else {
             assertTrue(clone instanceof OMDocument);
             assertFalse(clone instanceof SOAPMessage);
         }
-        assertSame(soapFactory, clone.getOMFactory());
     }
 }

Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soapdom/message/TestLazySOAPFactorySelection.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soapdom/message/TestLazySOAPFactorySelection.java?rev=1703275&r1=1703274&r2=1703275&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soapdom/message/TestLazySOAPFactorySelection.java (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soapdom/message/TestLazySOAPFactorySelection.java Tue Sep 15 19:21:46 2015
@@ -18,18 +18,13 @@
  */
 package org.apache.axiom.ts.soapdom.message;
 
-import static com.google.common.truth.Truth.assertThat;
-
-import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.OMXMLBuilderFactory;
-import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPMessage;
 import org.apache.axiom.ts.soap.SOAPSpec;
 import org.apache.axiom.ts.soap.SOAPTestCase;
 import org.apache.axiom.ts.soap.SOAPSampleSet;
 import org.w3c.dom.Document;
-import org.w3c.dom.Element;
 
 public class TestLazySOAPFactorySelection extends SOAPTestCase {
     public TestLazySOAPFactorySelection(OMMetaFactory metaFactory, SOAPSpec spec) {
@@ -42,12 +37,8 @@ public class TestLazySOAPFactorySelectio
         SOAPMessage message = OMXMLBuilderFactory.createSOAPModelBuilder(metaFactory,
                 SOAPSampleSet.NO_HEADER.getMessage(spec).getInputStream(), null).getSOAPMessage();
         
-        // At this stage, the SOAPFactory instance has not yet been determined.
-        // However, if we cast the SOAPMessage to a Document and use it to create e new Element,
-        // then that element must have the right factory.
-        Element element = ((Document)message).createElementNS("urn:test", "p:test");
-        
-        SOAPFactory soapFactoryFromNewElement = (SOAPFactory)((OMElement)element).getOMFactory();
-        assertThat(soapFactoryFromNewElement).isSameAs(soapFactory);
+        // In some Axiom versions, this failed because at this stage, the SOAPFactory instance
+        // has not yet been determined.
+        ((Document)message).createElementNS("urn:test", "p:test");
     }
 }



Mime
View raw message