You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2002/05/08 02:39:29 UTC

cvs commit: jakarta-commons/jxpath/xdocs users-guide.xml

dmitri      02/05/07 17:39:29

  Modified:    jxpath/xdocs users-guide.xml
  Log:
  New conversion: arrays, collections
  
  Revision  Changes    Path
  1.6       +11 -0     jakarta-commons/jxpath/xdocs/users-guide.xml
  
  Index: users-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/xdocs/users-guide.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- users-guide.xml	28 Apr 2002 22:43:08 -0000	1.5
  +++ users-guide.xml	8 May 2002 00:39:29 -0000	1.6
  @@ -814,6 +814,17 @@
           <td>Takes the single element of the array <br/>and (recursively) converts it to the needed type</td></tr>
     <tr><td><i>collection of size 1</i></td><td><i>any</i></td>
           <td>Takes the single element of the array <br/>and (recursively) converts it to the needed type</td></tr>
  +  <tr><td><i>array</i></td><td><i>array</i></td>
  +        <td>Creates a new array of the same size and converts every element</td></tr>
  +  <tr><td><i>array</i></td><td><i>Collection</i></td>
  +        <td>Creates a collection and adds to it all elements of the array. Note that it will only 
  +            know how to create the collection if the type is a concrete class, List or Set</td></tr>
  +  <tr><td><i>Collection</i></td><td><i>array</i></td>
  +        <td>Creates a new array the same size as the collection, converts and copies every element
  +            of the collection into the array.</td></tr>
  +  <tr><td><i>Collection</i></td><td><i>Collection</i></td>
  +        <td>Creates a collection and copies the source collection into the new collection. Note that it will only 
  +            know how to create the collection if the type is a concrete class, List or Set</td></tr>
     <tr><td>ExpressionContext</td><td>Collection, List, Vector, Set</td>
           <td>Creates a collection of type ArrayList, <br/>
               ArrayList, Vector, HashSet respectively and <br/>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>