|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jicengine.element.ElementImpl.ActionElementImpl
ActionElement-version of an ElementImpl.
Field Summary |
Fields inherited from interface org.jicengine.element.Element |
VARIABLE_NAME_CDATA, VARIABLE_NAME_ELEMENT_INSTANCE, VARIABLE_NAME_PARENT_INSTANCE |
Constructor Summary | |
ElementImpl.ActionElementImpl()
|
Method Summary | |
void |
execute(Context globalContext,
java.lang.Object parentInstance)
Executes the action of this element. |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElementImpl.ActionElementImpl()
Method Detail |
public java.lang.String getName()
getName
in interface Element
public void execute(Context globalContext, java.lang.Object parentInstance) throws ElementException
ActionElement
Executes the action of this element. The operation doesn't return any value to its caller, although it can internally produce a value.
The client/user of this element will call this method. currently, the method is called only once. However, the action should be able to be executed multiple times.
in general, the execution consists of the following steps:
execute
in interface ActionElement
globalContext
- a Context where the instances marked with the 'id'-attribute
are put.parentInstance
- the instance of the parent element. NOTE: null-value means
that the value of the parent is not available (not yet
or never), not that the instance of the parent is null!
ElementException
- if any part of the execution of the action fails.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |