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.io |
A collection of classes for reading in and writing out SCXML
documents, to and from the Commons SCXML Java object model.
|
org.apache.commons.scxml2.semantics |
A collection of classes responsible for implementations of the
org.apache.commons.scxml2.SCXMLSemantics interface. |
Modifier and Type | Method and Description |
---|---|
SCXML |
SCXMLExecutor.getStateMachine()
Get the state machine that is being executed.
|
SCXML |
SCXMLExecutionContext.getStateMachine() |
SCXML |
SCInstance.getStateMachine() |
SCXML |
ActionExecutionContext.getStateMachine() |
SCXML |
SCXMLSemantics.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following SCXMLReader.
|
Modifier and Type | Method and Description |
---|---|
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.
|
SCXML |
SCXMLSemantics.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following SCXMLReader.
|
void |
SCXMLExecutor.setStateMachine(SCXML stateMachine)
Set or replace the state machine to be executed
If the state machine instance has been initialized before, it will be initialized again, destroying all existing
state!
|
protected void |
SCXMLExecutionContext.setStateMachine(SCXML stateMachine)
Set or replace the state machine to be executed
If the state machine instance has been initialized before, it will be initialized again, destroying all existing
state!
|
protected void |
SCInstance.setStateMachine(SCXML stateMachine)
Sets the state machine for this instance.
|
Constructor and Description |
---|
AbstractStateMachine(SCXML stateMachine)
Convenience constructor.
|
AbstractStateMachine(SCXML stateMachine,
Context rootCtx,
Evaluator evaluator)
Primary constructor.
|
Modifier and Type | Method and Description |
---|---|
Evaluator |
GroovyEvaluator.GroovyEvaluatorProvider.getEvaluator(SCXML document) |
Modifier and Type | Method and Description |
---|---|
Evaluator |
JSEvaluator.JSEvaluatorProvider.getEvaluator(SCXML document) |
Modifier and Type | Method and Description |
---|---|
Evaluator |
JexlEvaluator.JexlEvaluatorProvider.getEvaluator(SCXML document) |
Modifier and Type | Method and Description |
---|---|
Evaluator |
MinimalEvaluator.MinimalEvaluatorProvider.getEvaluator(SCXML document) |
Modifier and Type | Method and Description |
---|---|
Evaluator |
XPathEvaluator.XPathEvaluatorProvider.getEvaluator(SCXML document) |
Modifier and Type | Method and Description |
---|---|
static SCXML |
SCXMLReader.read(InputStream scxmlStream)
Parse the SCXML document supplied by the given
InputStream . |
static SCXML |
SCXMLReader.read(InputStream scxmlStream,
SCXMLReader.Configuration configuration)
Parse the SCXML document supplied by the given
InputStream with the given SCXMLReader.Configuration . |
static SCXML |
SCXMLReader.read(Reader scxmlReader)
Parse the SCXML document supplied by the given
Reader . |
static SCXML |
SCXMLReader.read(Reader scxmlReader,
SCXMLReader.Configuration configuration)
Parse the SCXML document supplied by the given
Reader with the given SCXMLReader.Configuration . |
static SCXML |
SCXMLReader.read(Source scxmlSource)
Parse the SCXML document supplied by the given
Source . |
static SCXML |
SCXMLReader.read(Source scxmlSource,
SCXMLReader.Configuration configuration)
Parse the SCXML document supplied by the given
Source with the given SCXMLReader.Configuration . |
static SCXML |
SCXMLReader.read(String scxmlPath)
Parse the SCXML document at the supplied path.
|
static SCXML |
SCXMLReader.read(String scxmlPath,
SCXMLReader.Configuration configuration)
Parse the SCXML document at the supplied path with the given
SCXMLReader.Configuration . |
static SCXML |
SCXMLReader.read(URL scxmlURL)
Parse the SCXML document at the supplied
URL . |
static SCXML |
SCXMLReader.read(URL scxmlURL,
SCXMLReader.Configuration configuration)
Parse the SCXML document at the supplied
URL with the given SCXMLReader.Configuration . |
Modifier and Type | Method and Description |
---|---|
static String |
SCXMLWriter.write(SCXML scxml)
Write out the Commons SCXML object model as an SCXML document (used
primarily for testing, debugging and visual verification), returned as
a string.
|
static void |
SCXMLWriter.write(SCXML scxml,
OutputStream scxmlStream)
Write out the Commons SCXML object model as an SCXML document to the
supplied
OutputStream . |
static void |
SCXMLWriter.write(SCXML scxml,
OutputStream scxmlStream,
SCXMLWriter.Configuration configuration)
Write out the Commons SCXML object model as an SCXML document to the
supplied
OutputStream using the given SCXMLWriter.Configuration . |
static void |
SCXMLWriter.write(SCXML scxml,
Result scxmlResult)
Write out the Commons SCXML object model as an SCXML document to the
supplied
Result . |
static void |
SCXMLWriter.write(SCXML scxml,
Result scxmlResult,
SCXMLWriter.Configuration configuration)
Write out the Commons SCXML object model as an SCXML document to the
supplied
Result using the given SCXMLWriter.Configuration . |
static String |
SCXMLWriter.write(SCXML scxml,
SCXMLWriter.Configuration configuration)
Write out the Commons SCXML object model as an SCXML document (used
primarily for testing, debugging and visual verification) using the
supplied
SCXMLWriter.Configuration , and return as a string. |
static void |
SCXMLWriter.write(SCXML scxml,
Writer scxmlWriter)
Write out the Commons SCXML object model as an SCXML document to the
supplied
Writer . |
static void |
SCXMLWriter.write(SCXML scxml,
Writer scxmlWriter,
SCXMLWriter.Configuration configuration)
Write out the Commons SCXML object model as an SCXML document to the
supplied
Writer using the given SCXMLWriter.Configuration . |
Modifier and Type | Method and Description |
---|---|
SCXML |
SCXMLSemanticsImpl.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following SCXMLReader.
|
Modifier and Type | Method and Description |
---|---|
SCXML |
SCXMLSemanticsImpl.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following SCXMLReader.
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.