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 na...@apache.org on 2006/02/17 06:51:58 UTC

svn commit: r378442 - in /webservices/axis2/trunk/c: include/axis2_om_child_element_iterator.h include/axis2_om_children_iterator.h include/axis2_om_children_with_specific_attribute_iterator.h include/axis2_om_element.h modules/xml/om/om_document.c

Author: nandika
Date: Thu Feb 16 21:51:56 2006
New Revision: 378442

URL: http://svn.apache.org/viewcvs?rev=378442&view=rev
Log:
comments added , om_document_free function changed to free the underlying om tree structure

Modified:
    webservices/axis2/trunk/c/include/axis2_om_child_element_iterator.h
    webservices/axis2/trunk/c/include/axis2_om_children_iterator.h
    webservices/axis2/trunk/c/include/axis2_om_children_with_specific_attribute_iterator.h
    webservices/axis2/trunk/c/include/axis2_om_element.h
    webservices/axis2/trunk/c/modules/xml/om/om_document.c

Modified: webservices/axis2/trunk/c/include/axis2_om_child_element_iterator.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_child_element_iterator.h?rev=378442&r1=378441&r2=378442&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_child_element_iterator.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_child_element_iterator.h Thu Feb 16 21:51:56 2006
@@ -50,29 +50,29 @@
                             (axis2_om_child_element_iterator_t *iterator,
                              axis2_env_t **env);
                              
-        /**
-        * Removes from the underlying collection the last element returned by the
-        * iterator (optional op).  This method can be called only once per
-        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
-        * the underlying collection is modified while the iteration is in
-        * progress in any way other than by calling this method.
+        /**
+        * Removes from the underlying collection the last element returned by the
+        * iterator (optional op).  This method can be called only once per
+        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
+        * the underlying collection is modified while the iteration is in
+        * progress in any way other than by calling this method.
         */                                              
         axis2_status_t (AXIS2_CALL *remove)
                             (axis2_om_child_element_iterator_t *iterator,
                              axis2_env_t **env);
                              
-       /**
-        * Returns <tt>true</tt> if the iteration has more elements. (In other
-        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
-        * rather than throwing an exception.)
+       /**
+        * Returns <tt>true</tt> if the iteration has more elements. (In other
+        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
+        * rather than throwing an exception.)
         */                             
         
         axis2_bool_t (AXIS2_CALL *has_next)
                             (axis2_om_child_element_iterator_t *iterator,
                              axis2_env_t **env);
     
-       /**
-        * Returns the next element in the iteration.
+       /**
+        * Returns the next element in the iteration.
         */
         axis2_om_node_t* (AXIS2_CALL *next)
                             (axis2_om_child_element_iterator_t *iterator,

Modified: webservices/axis2/trunk/c/include/axis2_om_children_iterator.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_children_iterator.h?rev=378442&r1=378441&r2=378442&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_children_iterator.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_children_iterator.h Thu Feb 16 21:51:56 2006
@@ -50,29 +50,29 @@
                             (axis2_om_children_iterator_t *iterator,
                              axis2_env_t **env);
                              
-        /**
-        * Removes from the underlying collection the last element returned by the
-        * iterator (optional op).  This method can be called only once per
-        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
-        * the underlying collection is modified while the iteration is in
-        * progress in any way other than by calling this method.
+        /**
+        * Removes from the underlying collection the last element returned by the
+        * iterator (optional op).  This method can be called only once per
+        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
+        * the underlying collection is modified while the iteration is in
+        * progress in any way other than by calling this method.
         */                                              
         axis2_status_t (AXIS2_CALL *remove)
                             (axis2_om_children_iterator_t *iterator,
                              axis2_env_t **env);
                              
-       /**
-        * Returns <tt>true</tt> if the iteration has more elements. (In other
-        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
-        * rather than throwing an exception.)
+       /**
+        * Returns <tt>true</tt> if the iteration has more elements. (In other
+        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
+        * rather than throwing an exception.)
         */                             
         
         axis2_bool_t (AXIS2_CALL *has_next)
                             (axis2_om_children_iterator_t *iterator,
                              axis2_env_t **env);
     
-       /**
-        * Returns the next element in the iteration.
+       /**
+        * Returns the next element in the iteration.
         */
         axis2_om_node_t* (AXIS2_CALL *next)
                             (axis2_om_children_iterator_t *iterator,

Modified: webservices/axis2/trunk/c/include/axis2_om_children_with_specific_attribute_iterator.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_children_with_specific_attribute_iterator.h?rev=378442&r1=378441&r2=378442&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_children_with_specific_attribute_iterator.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_children_with_specific_attribute_iterator.h Thu Feb 16 21:51:56 2006
@@ -54,29 +54,29 @@
                    (axis2_om_children_with_specific_attribute_iterator_t *iterator,
                     axis2_env_t **env);
                              
-        /**
-        * Removes from the underlying collection the last element returned by the
-        * iterator (optional op).  This method can be called only once per
-        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
-        * the underlying collection is modified while the iteration is in
-        * progress in any way other than by calling this method.
+        /**
+        * Removes from the underlying collection the last element returned by the
+        * iterator (optional op).  This method can be called only once per
+        * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
+        * the underlying collection is modified while the iteration is in
+        * progress in any way other than by calling this method.
         */                                              
         axis2_status_t (AXIS2_CALL *remove)
                     (axis2_om_children_with_specific_attribute_iterator_t *iterator,
                      axis2_env_t **env);
                              
-       /**
-        * Returns <tt>true</tt> if the iteration has more elements. (In other
-        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
-        * rather than throwing an exception.)
+       /**
+        * Returns <tt>true</tt> if the iteration has more elements. (In other
+        * words, returns <tt>true</tt> if <tt>next</tt> would return an element
+        * rather than throwing an exception.)
         */                             
         
         axis2_bool_t (AXIS2_CALL *has_next)
                     (axis2_om_children_with_specific_attribute_iterator_t *iterator,
                         axis2_env_t **env);
     
-       /**
-        * Returns the next element in the iteration.
+       /**
+        * Returns the next element in the iteration.
         */
         axis2_om_node_t* (AXIS2_CALL *next)
                     (axis2_om_children_with_specific_attribute_iterator_t *iterator,

Modified: webservices/axis2/trunk/c/include/axis2_om_element.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_element.h?rev=378442&r1=378441&r2=378442&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_element.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_element.h Thu Feb 16 21:51:56 2006
@@ -283,8 +283,8 @@
                              axis2_env_t **env,
                              axis2_om_attribute_t *om_attribute); 
         /**
-         * Sets the text of the given element.
-         *caution - This method will wipe out all the text elements (and hence any
+         * Sets the text of the given element.
+         *caution - This method will wipe out all the text elements (and hence any
          * mixed content) before setting the text
          */
         axis2_status_t (AXIS2_CALL *set_text)(axis2_om_element_t *om_element,
@@ -292,7 +292,7 @@
                                               axis2_char_t *text,
                                               axis2_om_node_t *element_node); 
         /**
-         * select all the text children and concat them to a single string
+         * select all the text children and concat them to a single string
          * @param element node , the container node of this om element
          * @return the contanated text of all text childrens text values
          *         return null if no text children is avilable or on error

Modified: webservices/axis2/trunk/c/modules/xml/om/om_document.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_document.c?rev=378442&r1=378441&r2=378442&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_document.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_document.c Thu Feb 16 21:51:56 2006
@@ -177,7 +177,7 @@
     if (document->xml_version)
         AXIS2_FREE((*env)->allocator, document->xml_version);
     
-   /* AXIS2_OM_NODE_FREE_TREE(document->root_element, env); */
+    AXIS2_OM_NODE_FREE_TREE(document->root_element, env);
     
     if(document->om_document.ops)
         AXIS2_FREE((*env)->allocator, document->om_document.ops);