<put>

Purpose/Function

Invoke the put method on the java.util.Map object, which should be dereferenced from the environment.

Attributes

NAME

TYPE

DEFAULT VALUE

DESCRIPTION

map

java.util.Map

required

map to which to add entry

key

java.lang.String

required

key to use for entry

See also note below.

Elements

See note below.

ReturnValues

None.

NOTE:

This class subclasses <assign>, so the latter's attributes (excepting name and global) may be applied; the default value for configured here is true. Child elements also function as they do for <assign>.

Examples

...
<put map="${nested}" key="c" long="4082934"/>
<put map="${nested}" key="d" object="${submap}"/>
<put map="${nested}" key="e">
	<map>
		<map-entry key="f" boolean="true"/>
	</map>
</put>
...
  • No labels