| java.lang.Object pnuts.xml.DigestAction pnuts.xml.action.MapAction
MapAction | public class MapAction extends DigestAction (Code) | | This action creates a Map object and adds it to the object on the
stack top, in a way that depends on the type of the object.
- If a List object is on the stack top, an another Map object of
{keyword => the created Map object} is created and added to the List object.
- If a Map object is on the stack top, a map entry of {keyword => the
created Map object} is added to the Map object.
- Otherwise, this action assigns the created Map object to the Bean
property whose name is the keyword. In this case, the Bean property must be
of java.util.Map type.
If the element has one or more attributes, a map entry of {attribute's
name=>the value} is added to the created Map object.
|
|
|