| Package | Description | 
|---|---|
| org.apache.commons.scxml2 | 
 The Commons SCXML executor and core concepts. 
 | 
| org.apache.commons.scxml2.env | 
 A collection of classes that may be commonly used to bridge the
     SCXML executor to the runtime environment. 
 | 
| org.apache.commons.scxml2.env.groovy | 
 A collection of classes that allow Groovy to be used in expressions
     within SCXML documents. 
 | 
| org.apache.commons.scxml2.env.javascript | 
 A collection of classes that allow JavaScript to be used in expressions
     within SCXML documents via the  
javax.script API. | 
| org.apache.commons.scxml2.env.jexl | 
 A collection of classes that allow JEXL to be used in expressions
     within SCXML documents. 
 | 
| org.apache.commons.scxml2.env.minimal | |
| org.apache.commons.scxml2.env.xpath | 
 A collection of classes that allow XPath to be used in expressions
     within SCXML documents via Commons JXPath 
 | 
| org.apache.commons.scxml2.model | 
 A collection of classes needed to model SCXML documents. 
 | 
| org.apache.commons.scxml2.test | 
 A collection of classes useful for command line testing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
SCXMLExecutor.getEvaluator()
Get the expression evaluator in use. 
 | 
Evaluator | 
SCXMLExecutionContext.getEvaluator()  | 
protected Evaluator | 
SCInstance.getEvaluator()  | 
Evaluator | 
EvaluatorProvider.getEvaluator()  | 
Evaluator | 
ActionExecutionContext.getEvaluator()  | 
Evaluator | 
EvaluatorProvider.getEvaluator(SCXML document)
Factory method to return a dedicated and optimized  
Evaluator instance for a specific SCXML document. | 
static Evaluator | 
EvaluatorFactory.getEvaluator(SCXML document)
Returns a dedicated Evaluator instance for a specific SCXML document its documentmodel. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
SCInstance.cloneDatamodel(Datamodel datamodel,
                            Context ctx,
                            Evaluator evaluator,
                            ErrorReporter errorReporter)
Clone data model. 
 | 
void | 
SCXMLExecutor.setEvaluator(Evaluator evaluator)
Set or replace the expression evaluator
 
 If the state machine instance has been initialized before, it will be initialized again, destroying all existing
 state! 
 | 
protected void | 
SCXMLExecutionContext.setEvaluator(Evaluator evaluator)
Set or replace the evaluator
 
 If the state machine instance has been initialized before, it will be initialized again, destroying all existing
 state! 
 | 
protected void | 
SCInstance.setEvaluator(Evaluator evaluator,
                        boolean reAttach)
Set or re-attach the evaluator
 
 If not re-attaching and this state machine instance has been initialized before,
 it will be initialized again, destroying all existing state! 
 | 
| Constructor and Description | 
|---|
SCInstance(SCXMLIOProcessor internalIOProcessor,
                    Evaluator evaluator,
                    ErrorReporter errorReporter)
Constructor 
 | 
SCXMLExecutionContext(SCXMLExecutor scxmlExecutor,
                                          Evaluator evaluator,
                                          EventDispatcher eventDispatcher,
                                          ErrorReporter errorReporter)
Constructor 
 | 
SCXMLExecutor(Evaluator expEvaluator,
                          EventDispatcher evtDisp,
                          ErrorReporter errRep)
Constructor. 
 | 
SCXMLExecutor(Evaluator expEvaluator,
                          EventDispatcher evtDisp,
                          ErrorReporter errRep,
                          SCXMLSemantics semantics)
Constructor. 
 | 
| Constructor and Description | 
|---|
AbstractStateMachine(SCXML stateMachine,
                                        Context rootCtx,
                                        Evaluator evaluator)
Primary constructor. 
 | 
AbstractStateMachine(URL scxmlDocument,
                                        Context rootCtx,
                                        Evaluator evaluator)
Primary constructor, object instantiation incurs parsing cost. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GroovyEvaluator
Evaluator implementation enabling use of Groovy expressions in SCXML documents. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
GroovyEvaluator.GroovyEvaluatorProvider.getEvaluator()  | 
Evaluator | 
GroovyEvaluator.GroovyEvaluatorProvider.getEvaluator(SCXML document)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JSEvaluator
Embedded JavaScript expression evaluator for SCXML expressions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
JSEvaluator.JSEvaluatorProvider.getEvaluator()  | 
Evaluator | 
JSEvaluator.JSEvaluatorProvider.getEvaluator(SCXML document)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JexlEvaluator
Evaluator implementation enabling use of JEXL expressions in
 SCXML documents. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
JexlEvaluator.JexlEvaluatorProvider.getEvaluator()  | 
Evaluator | 
JexlEvaluator.JexlEvaluatorProvider.getEvaluator(SCXML document)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MinimalEvaluator
Minimal Evaluator implementing and providing support for the SCXML Null Data Model. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
MinimalEvaluator.MinimalEvaluatorProvider.getEvaluator()  | 
Evaluator | 
MinimalEvaluator.MinimalEvaluatorProvider.getEvaluator(SCXML document)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
XPathEvaluator
An  
Evaluator implementation for XPath environments. | 
| Modifier and Type | Method and Description | 
|---|---|
Evaluator | 
XPathEvaluator.XPathEvaluatorProvider.getEvaluator()  | 
Evaluator | 
XPathEvaluator.XPathEvaluatorProvider.getEvaluator(SCXML document)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
PayloadProvider.makeEventPayload(Evaluator evaluator,
                                Map<String,Object> payload)
Converts a payload data map to be used for an event payload. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
StandaloneUtils.execute(String uri,
              Evaluator evaluator)
Command line utility method for executing the state machine defined
 using the SCXML document described by the specified URI and using
 the specified expression evaluator. 
 | 
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.