axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r168299 - in /webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om: OMAbstractFactory.java OMFactory.java SOAPFactory.java impl/llom/builder/StAXSOAPModelBuilder.java impl/llom/factory/SOAPLinkedListImplFactory.java
Date Thu, 05 May 2005 08:01:47 GMT
Author: chinthaka
Date: Thu May  5 01:01:46 2005
New Revision: 168299

URL: http://svn.apache.org/viewcvs?rev=168299&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMAbstractFactory.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMFactory.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/SOAPFactory.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/factory/SOAPLinkedListImplFactory.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMAbstractFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMAbstractFactory.java?rev=168299&r1=168298&r2=168299&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMAbstractFactory.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMAbstractFactory.java
Thu May  5 01:01:46 2005
@@ -3,6 +3,7 @@
 import org.apache.axis.om.OMFactory;
 import org.apache.axis.om.FactoryFinder;
 import org.apache.axis.om.impl.llom.soap11.SOAP11Factory;
+import org.apache.axis.om.impl.llom.factory.SOAPLinkedListImplFactory;
 
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
@@ -85,5 +86,9 @@
      */
     public static SOAPFactory getSOAP12Factory(ClassLoader classLoader) {
         return FactoryFinder.findSOAP12Factory(classLoader);
+    }
+
+    public static SOAPFactory getDefaultSOAPFactory() {
+        return new SOAPLinkedListImplFactory();
     }
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMFactory.java?rev=168299&r1=168298&r2=168299&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMFactory.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/OMFactory.java Thu May
 5 01:01:46 2005
@@ -26,7 +26,7 @@
      * @param ns
      * @return
      */
-    public abstract OMElement createOMElement(String localName, OMNamespace ns);
+    public OMElement createOMElement(String localName, OMNamespace ns);
 
     /**
      * @param localName
@@ -35,7 +35,7 @@
      * @param builder
      * @return
      */
-    public abstract OMElement createOMElement(String localName, OMNamespace ns,
+    public OMElement createOMElement(String localName, OMNamespace ns,
                                               OMElement parent,
                                               OMXMLParserWrapper builder);
 
@@ -50,7 +50,7 @@
      * @param namespacePrefix
      * @return
      */
-    public abstract OMElement createOMElement(String localName,
+    public OMElement createOMElement(String localName,
                                               String namespaceURI,
                                               String namespacePrefix);
 
@@ -64,7 +64,7 @@
      * @return
      * @throws OMException
      */
-    public abstract OMElement createOMElement(QName qname, OMElement parent)
+    public OMElement createOMElement(QName qname, OMElement parent)
             throws OMException;
 
     /**
@@ -72,20 +72,20 @@
      * @param prefix
      * @return
      */
-    public abstract OMNamespace createOMNamespace(String uri, String prefix);
+    public OMNamespace createOMNamespace(String uri, String prefix);
 
     /**
      * @param parent
      * @param text
      * @return
      */
-    public abstract OMText createText(OMElement parent, String text);
+    public OMText createText(OMElement parent, String text);
 
     /**
      * @param s
      * @return
      */
-    public abstract OMText createText(String s);
+    public OMText createText(String s);
 
 
 

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/SOAPFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/SOAPFactory.java?rev=168299&r1=168298&r2=168299&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/SOAPFactory.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/SOAPFactory.java Thu May
 5 01:01:46 2005
@@ -26,14 +26,14 @@
      * @param envelope
      * @return
      */
-    public abstract SOAPBody createSOAPBody(SOAPEnvelope envelope);
+    public SOAPBody createSOAPBody(SOAPEnvelope envelope);
 
     /**
      * @param envelope
      * @param builder
      * @return
      */
-    public abstract SOAPBody createSOAPBody(SOAPEnvelope envelope,
+    public SOAPBody createSOAPBody(SOAPEnvelope envelope,
                                             OMXMLParserWrapper builder);
 
     /**
@@ -41,27 +41,27 @@
      * @param builder
      * @return
      */
-    public abstract SOAPEnvelope createSOAPEnvelope(OMNamespace ns,
+    public SOAPEnvelope createSOAPEnvelope(OMNamespace ns,
                                                     OMXMLParserWrapper builder);
 
     /**
      * @param ns
      * @return
      */
-    public abstract SOAPEnvelope createSOAPEnvelope(OMNamespace ns);
+    public SOAPEnvelope createSOAPEnvelope(OMNamespace ns);
 
     /**
      * @param envelope
      * @return
      */
-    public abstract SOAPHeader createSOAPHeader(SOAPEnvelope envelope);
+    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope);
 
     /**
      * @param envelope
      * @param builder
      * @return
      */
-    public abstract SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
+    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
                                                 OMXMLParserWrapper builder);
 
     /**
@@ -69,7 +69,7 @@
      * @param ns
      * @return
      */
-    public abstract SOAPHeaderBlock createSOAPHeaderBlock(String localName,
+    public SOAPHeaderBlock createSOAPHeaderBlock(String localName,
                                                           OMNamespace ns);
 
     /**
@@ -79,7 +79,7 @@
      * @param builder
      * @return
      */
-    public abstract SOAPHeaderBlock createSOAPHeaderBlock(String localName,
+    public SOAPHeaderBlock createSOAPHeaderBlock(String localName,
                                                           OMNamespace ns, OMElement parent,
OMXMLParserWrapper builder);
 
     /**
@@ -87,7 +87,7 @@
      * @param e
      * @return
      */
-    public abstract SOAPFault createSOAPFault(SOAPBody parent, Exception e);
+    public SOAPFault createSOAPFault(SOAPBody parent, Exception e);
 
     /**
      * @param ns
@@ -95,7 +95,7 @@
      * @param builder
      * @return
      */
-    public abstract SOAPFault createSOAPFault(OMNamespace ns, SOAPBody parent,
+    public SOAPFault createSOAPFault(OMNamespace ns, SOAPBody parent,
                                               OMXMLParserWrapper builder);
 
     /**
@@ -103,5 +103,5 @@
      *
      * @return
      */
-    public abstract SOAPEnvelope getDefaultEnvelope();
+    public SOAPEnvelope getDefaultEnvelope();
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java?rev=168299&r1=168298&r2=168299&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
Thu May  5 01:01:46 2005
@@ -68,7 +68,7 @@
      */
     public StAXSOAPModelBuilder(XMLStreamReader parser) {
         super(parser);
-        soapFactory = OMAbstractFactory.getSOAP11Factory();
+        soapFactory = OMAbstractFactory.getDefaultSOAPFactory();
         identifySOAPVersion();
 
         parseHeaders();

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/factory/SOAPLinkedListImplFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/factory/SOAPLinkedListImplFactory.java?rev=168299&r1=168298&r2=168299&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/factory/SOAPLinkedListImplFactory.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/factory/SOAPLinkedListImplFactory.java
Thu May  5 01:01:46 2005
@@ -20,7 +20,7 @@
  * the License.
  * <p/>
  */
-public abstract class SOAPLinkedListImplFactory extends OMLinkedListImplFactory implements
SOAPFactory {
+public class SOAPLinkedListImplFactory extends OMLinkedListImplFactory implements SOAPFactory
{
     /**
      * Eran Chinthaka (chinthaka@apache.org)
      */



Mime
View raw message