Overwiew of using Jice for collection classes. Further docs at Jice site.
In this example we will load a HashMap object with two entries:
				 Notice the action attribute of the entry element. 
This element specifies that the entry element 
				 is to be put in the container HashMap. 
				 
				 The method call parent.put(key,value) is a method of the class HashMap; where
				 parent refers to the HashMap instance itself.
				 In similar ways you can use other collection objects as Vector, ArrayList ecc.
				 
    <method name="testGetHashMap"> 
     <test-case="standard">
       <params>
         <param name="hashmap" type="" use-jice="yes">
           <jice>
             <map xmlns="http://www.jicengine.org/jic/2.0" class="java.util.HashMap">
               <entry action="parent.put(key,value)">
                 <key>key1</key> <value>value1</value>
               </entry>
               <entry action="parent.put(key,value)">
                 <key>key2</key> <value>value2</value>
               </entry>
             </map>
           </jice>
          </param>
        </params>
      </test-case>
    </method>  
	  
      
                        
      
                        
                        
    
/* 
    
    |