You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/09/24 03:19:11 UTC

svn commit: r291231 - in /webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om: OMNode.java impl/llom/OMElementImpl.java impl/llom/OMNodeImpl.java impl/llom/OMTextImpl.java

Author: dims
Date: Fri Sep 23 18:19:04 2005
New Revision: 291231

URL: http://svn.apache.org/viewcvs?rev=291231&view=rev
Log:
Cleanup buildWithMTOM, since it is not used anywhere, name is wrong and we can do the same thing using rest of the API.


Modified:
    webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/OMNode.java
    webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java
    webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMNodeImpl.java
    webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java

Modified: webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/OMNode.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/OMNode.java?rev=291231&r1=291230&r2=291231&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/OMNode.java (original)
+++ webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/OMNode.java Fri Sep 23 18:19:04 2005
@@ -182,12 +182,4 @@
      * Builds itself
      */
     public void build();
-
-    /**
-     * The build method will not read the information from stream and build MTOM stuff.
-     * This method is to build the normal model and force build the MTOM stuff too.
-     *
-     * @throws OMException
-     */
-    public void buildWithMTOM() throws OMException;
 }

Modified: webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java?rev=291231&r1=291230&r2=291231&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java (original)
+++ webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java Fri Sep 23 18:19:04 2005
@@ -791,14 +791,4 @@
             builder.discard(this);
         }
     }
-
-    public void buildWithMTOM() throws OMException {
-        if (!done) {
-            this.build();
-        }
-        Iterator childrenIterator = this.getChildren();
-        while (childrenIterator.hasNext()) {
-            ((OMNode) childrenIterator.next()).buildWithMTOM();
-        }
-    }
 }

Modified: webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMNodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMNodeImpl.java?rev=291231&r1=291230&r2=291231&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMNodeImpl.java (original)
+++ webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMNodeImpl.java Fri Sep 23 18:19:04 2005
@@ -289,18 +289,6 @@
     }
 
     /**
-     * The build method will not read the information from stream and build MTOM stuff.
-     * This method is to build the normal model and force build the MTOM stuff too.
-     * @throws OMException
-     */
-    public void buildWithMTOM() throws OMException{
-
-    }
-
-
-
-
-    /**
      * Serialize the node with caching
      *
      * @param xmlWriter

Modified: webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java?rev=291231&r1=291230&r2=291231&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java (original)
+++ webservices/axis2/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java Fri Sep 23 18:19:04 2005
@@ -429,8 +429,4 @@
             builder.discard((OMElement) this.parent);
         }
     }
-
-    public void buildWithMTOM() throws OMException {
-        this.getDataHandler();
-    }
 }