| java.lang.Object pnuts.xml.DigestAction pnuts.xml.action.TextAction
TextAction | public class TextAction extends DigestAction (Code) | | This action adds a map entry of {keyword => the content of the
element} 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, a Map object with
a {keyword => content} entry is created and pushed onto the stack.
- If a Map object is on the stack top, a map entry of
{keyword => content} is added to the Map object.
- Otherwise, this action assigns the element's content to the Bean
property whose name is the keyword.
If the property is of a primitive type, the content is automatically
converted to the appropriate value.
|
|
|