axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: rev 54509 - webservices/axis/trunk/java/dev/scratch/chinthaka/OMAPI_with_Impl/src/java/org/apache/axis/om/impl
Date Mon, 11 Oct 2004 06:14:45 GMT
Author: aslom
Date: Sun Oct 10 23:14:45 2004
New Revision: 54509

Modified:
   webservices/axis/trunk/java/dev/scratch/chinthaka/OMAPI_with_Impl/src/java/org/apache/axis/om/impl/OMElementImpl.java
Log:
applied Eran Chinthaka patch

Modified: webservices/axis/trunk/java/dev/scratch/chinthaka/OMAPI_with_Impl/src/java/org/apache/axis/om/impl/OMElementImpl.java
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/chinthaka/OMAPI_with_Impl/src/java/org/apache/axis/om/impl/OMElementImpl.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/chinthaka/OMAPI_with_Impl/src/java/org/apache/axis/om/impl/OMElementImpl.java
Sun Oct 10 23:14:45 2004
@@ -1,6 +1,7 @@
 package org.apache.axis.om.impl;
 
 import org.apache.axis.om.*;
+import org.apache.axis.om.impl.util.OMChildrenIterator;
 
 import java.io.PrintStream;
 import java.util.Iterator;
@@ -83,7 +84,7 @@
      * Children can be of types OMElement, OMText.
      */
     public Iterator getChildren() {
-        return null;  //TODO implement this
+        return new OMChildrenIterator(firstChild);
     }
 
     /**
@@ -137,7 +138,7 @@
      * @return
      */
     public Iterator getAttributes() {
-        return null;  //TODO implement this
+       return new OMChildrenIterator(getFirstAttribute());
     }
 
     /**

Mime
View raw message