|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.engine.ElementSupport
com.uwyn.rife.engine.Element
com.uwyn.rife.engine.ElementScripted
public class ElementScripted
The ElementScripted class provides a bridge between
scripting engines and the element backend. You should never have to deal
with this class directly.
| Constructor Summary | |
|---|---|
ElementScripted(com.uwyn.rife.engine.ScriptedEngine engine)
Creates a new ElementScripted instance for a particular
scripting engine. |
|
| Method Summary | |
|---|---|
boolean |
childTriggered(String name,
String[] values)
Called by the engine when a child trigger occurs, this method should never be called explicitly. |
void |
processElement()
The default entry point that will be called when a request arrives. |
| Methods inherited from class com.uwyn.rife.engine.Element |
|---|
clone, noticeElement |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementScripted(com.uwyn.rife.engine.ScriptedEngine engine)
throws EngineException
ElementScripted instance for a particular
scripting engine.
engine - the scripting engine that this element has to be linked to
EngineException - when an unexpected error occurred while linking
the scripted element to the engine| Method Detail |
|---|
public void processElement()
ElementAware
processElement in interface ElementAwareprocessElement in class Element
public boolean childTriggered(String name,
String[] values)
ElementSupportThe default implementation executes the ElementChildTrigger
that has been registered with ElementSupport.setChildTrigger(com.uwyn.rife.engine.ElementChildTrigger).
childTriggered in class ElementSupportname - the name of the variable that initiated the child triggervalues - the values of the variable that initiated the child
trigger
true if the execution should be interrupted and
step down the inheritance stack (ie. when the activation of the child
has been triggered); or
false if the execution should just continue
ElementSupport.setChildTrigger(ElementChildTrigger)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||