You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/11/22 05:57:01 UTC

svn commit: r348084 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java

Author: chinthaka
Date: Mon Nov 21 20:56:56 2005
New Revision: 348084

URL: http://svn.apache.org/viewcvs?rev=348084&view=rev
Log:
Someone has messed up the javadoc comment of methods. This is the last time, I'm correcting this. Please please do not format this again.

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java?rev=348084&r1=348083&r2=348084&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/databinding/utils/ADBPullParser.java Mon Nov 21 20:56:56 2005
@@ -122,51 +122,48 @@
      *                   Lets take an example of a bean.
      *                   <pre>
      *                       <Person>
-     *                                                                                                                                                                                                                  <DependentOne>
-     *                                                                                                                                                                                                                      <Name>FooTwo</Name>
-     *                                                                                                                                                                                                                      <Age>25</Age>
-     *                                                                                                                                                                                                                      <Sex>Male</Sex>
-     *                                                                                                                                                                                                                  </DependentOne>
-     *                                                                                                                                                                                                          </Person>
-     *                   <p/>
-     *                   <p/>
-     *                                                                                                                                                                                                       so the mapping bean for this is
-     *                                                                                                                                                                                                       class Person {
-     *                                                                                                                                                                                                          String Name;
-     *                                                                                                                                                                                                          Dependent dependentOne;
-     *                                                                                                                                                                                                       }
-     *                   <p/>
-     *                   <p/>
-     *                                                                                                                                                                                                       class Dependent {
-     *                                                                                                                                                                                                          String name;
-     *                                                                                                                                                                                                          int age;
-     *                                                                                                                                                                                                          String sex;
-     *                                                                                                                                                                                                       }
-     *                   <p/>
-     *                   <p/>
-     *                                                                                                                                                                                                       So if one needs to generate pull events out of a Person bean, the array he needs
-     *                                                                                                                                                                                                       to pass is like this.
-     *                                                                                                                                                                                                       ---------------------------------------------------------------------------------------------------
-     *                                                                                                                                                                                                       | "Name" | "FooOne" | QName("DependentOne") | Dependent object| null | Array of Dependent objects |
-     *                                                                                                                                                                                                       ---------------------------------------------------------------------------------------------------
-     *                                                                                                                                                                                                       This DependentObject can either be an ADBBean, OMElement or a POJO. If its an ADBBean
-     *                                                                                                                                                                                                       We directly get the pull parser from that. If not we create a reflection based
-     *                                                                                                                                                                                                       pull parser for that java bean.
-     *                   <p/>
-     *                   <p/>
-     *                                                                                                                                                                                                                         This is the how the passed array should look like
-     *                                                                                                                                                                                                                                           Key             Value
-     *                                                                                                                                                                                                                                           String          String
-     *                                                                                                                                                                                                                                           QName           ADBBean, OMElement, Bean
-     *                                                                                                                                                                                                                                           String          String[]
-     *                                                                                                                                                                                                                                           QName           Object[] - this contains only one type of objects
-     *                   <p/>
-     *                   <p/>
-     *                                                                                                                                                                                                                           This is how the passed attribute array should look like
-     *                                                                                                                                                                                                                                           Key             Value
-     *                                                                                                                                                                                                                                           null            OMAttribute[]
-     *                                                                                                                                                                                                                                           QName           String
-     *                                                                                                                                                                                                                         </pre>
+     *                           <DependentOne>
+     *                              <Name>FooTwo</Name>
+     *                              <Age>25</Age>
+     *                              <Sex>Male</Sex>
+     *                              </DependentOne>
+     *                      </Person>
+     *                   <p/>
+     *                   <p/>
+     *                  so the mapping bean for this is
+     *                  class Person {
+     *                     String Name;
+     *                     Dependent dependentOne;
+     *                  }
+     *                   <p/>
+     *                   <p/>
+     *                                                                                                                                                                     }
+     *                   <p/>
+     *                   <p/>
+     *                  So if one needs to generate pull events out of a Person bean, the array he needs
+     *                  to pass is like this.
+     *                  ---------------------------------------------------------------------------------------------------
+     *                  | "Name" | "FooOne" | QName("DependentOne") | Dependent object| null | Array of Dependent objects |
+     *                  ---------------------------------------------------------------------------------------------------
+     *                  This DependentObject can either be an ADBBean, OMElement or a POJO. If its an ADBBean
+     *                  We directly get the pull parser from that. If not we create a reflection based
+                        pull parser for that java bean.
+
+                        <p/>
+     *                   <p/>
+                        This is the how the passed array should look like
+     *                           Key             Value
+     *                         String          String
+     *                         QName           ADBBean, OMElement, Bean
+                               String          String[]
+                               QName           Object[] - this contains only one type of objects
+     *                   <p/>
+     *                   <p/>
+                       This is how the passed attribute array should look like
+                                Key             Value
+                               null            OMAttribute[]
+                               QName           String
+                  </pre>
      * @return XMLStreamReader
      */
     public static XMLStreamReader createPullParser(QName adbBeansQName, Object[] properties, Object[] attributes) {