|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.model.Action
org.apache.commons.scxml.model.Assign
public class Assign
The class in this SCXML object model that corresponds to the <assign> SCXML element.
| Constructor Summary | |
|---|---|
Assign()
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
java.util.Collection derivedEvents)
Execute this action instance. |
java.lang.String |
getExpr()
Get the expr that will evaluate to the new value. |
java.lang.String |
getLocation()
Get the location for a previously defined XML data tree. |
java.lang.String |
getName()
Get the variable to be assigned a new value. |
PathResolver |
getPathResolver()
Get the PathResolver. |
java.lang.String |
getSrc()
Get the source where the new XML instance for this location exists. |
void |
setExpr(java.lang.String expr)
Set the expr that will evaluate to the new value. |
void |
setLocation(java.lang.String location)
Set the location for a previously defined XML data tree. |
void |
setName(java.lang.String name)
Get the variable to be assigned a new value. |
void |
setPathResolver(PathResolver pathResolver)
Set the PathResolver. |
void |
setSrc(java.lang.String src)
Set the source where the new XML instance for this location exists. |
| Methods inherited from class org.apache.commons.scxml.model.Action |
|---|
getNamespaces, getNamespacesKey, getParent, getParentState, setNamespaces, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assign()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getExpr()
public void setExpr(java.lang.String expr)
expr - The expr to set.public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - The location.public java.lang.String getSrc()
public void setSrc(java.lang.String src)
src - The source.public PathResolver getPathResolver()
PathResolver.
getPathResolver in interface PathResolverHolderpublic void setPathResolver(PathResolver pathResolver)
PathResolver.
setPathResolver in interface PathResolverHolderpathResolver - The pathResolver to set.
public void execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
java.util.Collection derivedEvents)
throws ModelException,
SCXMLExpressionException
execute in class ActionevtDispatcher - The EventDispatcher for this execution instanceerrRep - The ErrorReporter to broadcast any errors
during execution.scInstance - The state machine execution instance information.appLog - The application Log.derivedEvents - The collection to which any internal events
arising from the execution of this action
must be added.
ModelException - If the execution causes the model to enter
a non-deterministic state.
SCXMLExpressionException - If the execution involves trying
to evaluate an expression which is malformed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||