Package | Description |
---|---|
org.apache.commons.scxml2.model |
A collection of classes needed to model SCXML documents.
|
org.apache.commons.scxml2.semantics |
A collection of classes responsible for implementations of the
org.apache.commons.scxml2.SCXMLSemantics interface. |
Modifier and Type | Class and Description |
---|---|
class |
Parallel
The class in this SCXML object model that corresponds to the
<parallel> SCXML element, which is a wrapper element to
encapsulate parallel state machines.
|
class |
State
The class in this SCXML object model that corresponds to the
<state> SCXML element.
|
Modifier and Type | Method and Description |
---|---|
TransitionalState |
TransitionalState.getAncestor(int level)
Get the ancestor of this TransitionalState at specified level
|
TransitionalState |
TransitionalState.getParent()
Get the TransitionalState (State or Parallel) parent.
|
TransitionalState |
SimpleTransition.getParent()
Get the TransitionalState (State or Parallel) parent.
|
TransitionalState |
History.getParent() |
TransitionalState |
Finalize.getParent() |
TransitionalState |
SimpleTransition.getTransitionDomain()
Returns the transition domain of this transition
If this transition is target-less OR if its transition domain is the SCXML document itself, null is returned.
|
Modifier and Type | Method and Description |
---|---|
void |
Parallel.addChild(TransitionalState ts)
Add a TransitionalState (State or Parallel) child
|
void |
TransitionalState.setParent(TransitionalState parent)
Set the TransitionalState parent
|
void |
SimpleTransition.setParent(TransitionalState parent)
Set the TransitionalState (State or Parallel) parent
For transitions of Initial or History elements their TransitionalState parent must be set.
|
void |
History.setParent(TransitionalState parent)
Set the TransitionalState parent.
|
void |
Finalize.setParent(TransitionalState parent)
Set the TransitionalState parent.
|
Modifier and Type | Method and Description |
---|---|
Map<TransitionalState,SimpleTransition> |
Step.getDefaultHistoryTransitions() |
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemanticsImpl.enterStates(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
This method corresponds to the Algorithm for SCXML processing enterStates() procedure, where the states to enter
already have been pre-computed in
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext, Step, java.util.Set) . |
void |
SCXMLSemanticsImpl.exitStates(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
This method corresponds to the Algorithm for SCXML processing exitStates() procedure, where the states to exit
already have been pre-computed in
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext, Step, java.util.Set) . |
void |
SCXMLSemanticsImpl.initiateInvokes(SCXMLExecutionContext exctx,
Set<TransitionalState> statesToInvoke)
Initiate any new invoked activities.
|
void |
SCXMLSemanticsImpl.macroStep(SCXMLExecutionContext exctx,
Set<TransitionalState> statesToInvoke)
Perform a macro step in the execution of a state machine.
|
void |
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
Perform a micro step in the execution of a state machine.
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.