map

Description

A type which creates a mapping from the given name to the given value. Alternatively it can be thought of as a list of name/value pairs.

Other Map type values will be merged in with this map if the value is un-named. If a name is supplied they will remain as mapped maps.

A mapped type can be used as an input where it will have the same format as a properties file.

Example

A simple map.

 ...
   <map>
     <value name="FRUIT" value="apple"/>
     <value name="answer" value="42"/>
   </map>
 ...
 

Other mapped types being merged in.

 ...
   <map>
     <system/>
     <environment command="env"/>
   </map>
 ...
 


(c) Rob Gordon 2005