pnuts.xml.action |
|
Java Source File Name | Type | Comment |
AddMapAction.java | Class | This action constructs a Map object from values that two child-elements
produce. |
BeanAction.java | Class | This action creates an instance of the class, which was passed to the
constructor, and adds it to the object on the stack top, in a way that
depends on the type of the object. |
BeanHelper.java | Class | |
BeanPropertyAction.java | Class | This action sets a Bean property of the object on the stack top,
using keyword and the content of the element.
- If a List object is on the stack top, it creates an instance of
the class passed to the constructor, and push it onto the stack.
|
CallAction.java | Class | This action does some computation using values popped out of the stack. |
ElementCallAction.java | Class | This action calls an abstract method passing the keyword assigned to the path,
the element's attributes, and the text element. |
ListAction.java | Class | This action creates a List 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, the created object is added to the List object.
- If a Map object is on the stack top, a map entry of {keyword => the created object}
is added to the Map object.
- Otherwise, this action assigns the created object to the Bean
property whose name is the keyword.
|
MapAction.java | Class | 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.
|
ParameterAction.java | Class | This action pushes the content of an element onto the stack, which will be poped from the stack
by a CallAction. |
SimpleCallAction.java | Class | This action does some computation with the element's attributes as
the parameters. |
TextAction.java | Class | 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. |