Package | Description |
---|---|
org.apache.commons.scxml |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml.env |
A collection of classes that may be commonly used to bridge the
SCXML executor to the runtime environment.
|
org.apache.commons.scxml.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.scxml.semantics |
A collection of classes responsible for implementations of the
org.apache.commons.scxml.SCXMLSemantics interface. |
Modifier and Type | Method and Description |
---|---|
SCXML |
SCXMLExecutor.getStateMachine()
Get the state machine that is being executed.
|
SCXML |
SCXMLSemantics.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following Digester.
|
Modifier and Type | Method and Description |
---|---|
void |
SCXMLExecutor.addListener(SCXML scxml,
SCXMLListener listener)
Add a listener to the document root.
|
void |
SCXMLSemantics.determineInitialStates(SCXML input,
Set states,
List entryList,
ErrorReporter errRep,
SCInstance scInstance)
Determining the initial state(s) for this state machine.
|
void |
SCXMLSemantics.enumerateReachableTransitions(SCXML stateMachine,
Step step,
ErrorReporter errRep)
Enumerate all the reachable transitions.
|
void |
SCXMLSemantics.executeActions(Step step,
SCXML stateMachine,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance)
Executes all OnExit/Transition/OnEntry transitional actions.
|
void |
NotificationRegistry.fireOnEntry(SCXML observable,
TransitionTarget state)
Inform all relevant listeners that a TransitionTarget has been
entered.
|
void |
NotificationRegistry.fireOnExit(SCXML observable,
TransitionTarget state)
Inform all relevant listeners that a TransitionTarget has been
exited.
|
void |
NotificationRegistry.fireOnTransition(SCXML observable,
TransitionTarget from,
TransitionTarget to,
Transition transition)
Inform all relevant listeners of a transition that has occured.
|
SCXML |
SCXMLSemantics.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following Digester.
|
void |
SCXMLExecutor.removeListener(SCXML scxml,
SCXMLListener listener)
Remove this listener from the document root.
|
void |
SCXMLExecutor.setStateMachine(SCXML stateMachine)
Set the state machine to be executed.
|
Modifier and Type | Method and Description |
---|---|
static SCXML |
AbstractStateMachine.getStateMachine()
Deprecated.
Returns null, use getEngine().getStateMachine() instead
|
Constructor and Description |
---|
AbstractStateMachine(SCXML stateMachine)
Convenience constructor.
|
AbstractStateMachine(SCXML stateMachine,
Context rootCtx,
Evaluator evaluator)
Primary constructor.
|
Modifier and Type | Method and Description |
---|---|
static SCXML |
SCXMLDigester.digest(InputSource documentInputSource,
ErrorHandler errHandler)
Deprecated.
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLDigester.digest(InputSource documentInputSource,
ErrorHandler errHandler,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLDigester.digest(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver)
Deprecated.
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLDigester.digest(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLDigester.digest(URL scxmlURL,
ErrorHandler errHandler)
Deprecated.
API for standalone usage where the SCXML document is a URL.
|
static SCXML |
SCXMLDigester.digest(URL scxmlURL,
ErrorHandler errHandler,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is a URL, and
the document uses custom actions.
|
static SCXML |
SCXMLParser.parse(InputSource documentInputSource,
ErrorHandler errHandler)
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLParser.parse(InputSource documentInputSource,
ErrorHandler errHandler,
List customActions)
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLParser.parse(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver)
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLParser.parse(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver,
List customActions)
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLParser.parse(URL scxmlURL,
ErrorHandler errHandler)
API for standalone usage where the SCXML document is a URL.
|
static SCXML |
SCXMLParser.parse(URL scxmlURL,
ErrorHandler errHandler,
List customActions)
API for standalone usage where the SCXML document is a URL, and
the document uses custom actions.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.digester.Digester |
SCXMLParser.newInstance(SCXML scxml,
PathResolver pr)
Obtain a SCXML digester instance for further customization.
|
static org.apache.commons.digester.Digester |
SCXMLDigester.newInstance(SCXML scxml,
PathResolver pr)
Deprecated.
Obtain a SCXML digester instance for further customization.
|
static org.apache.commons.digester.Digester |
SCXMLParser.newInstance(SCXML scxml,
PathResolver pr,
List customActions)
Obtain a SCXML digester instance for further customization.
|
static org.apache.commons.digester.Digester |
SCXMLDigester.newInstance(SCXML scxml,
PathResolver pr,
List customActions)
Deprecated.
Obtain a SCXML digester instance for further customization.
|
static String |
SCXMLSerializer.serialize(SCXML scxml)
Serialize this SCXML object (primarily for debugging).
|
static void |
SCXMLParser.updateSCXML(SCXML scxml)
Update the SCXML object model and make it SCXMLExecutor ready.
|
static void |
SCXMLDigester.updateSCXML(SCXML scxml)
Deprecated.
Update the SCXML object model and make it SCXMLExecutor ready.
|
Constructor and Description |
---|
SCXMLDigester.DigestSrcAttributeRule(SCXML root,
List customActions,
PathResolver pr)
Deprecated.
Constructor.
|
SCXMLDigester.UpdateModelRule(SCXML scxml)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SCXML |
SCXMLSemanticsImpl.normalizeStateMachine(SCXML input,
ErrorReporter errRep) |
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemanticsImpl.determineInitialStates(SCXML input,
Set targets,
List entryList,
ErrorReporter errRep,
SCInstance scInstance) |
void |
SCXMLSemanticsImpl.enumerateReachableTransitions(SCXML stateMachine,
Step step,
ErrorReporter errRep) |
void |
SCXMLSemanticsImpl.executeActions(Step step,
SCXML stateMachine,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance)
Executes all OnExit/Transition/OnEntry transitional actions.
|
SCXML |
SCXMLSemanticsImpl.normalizeStateMachine(SCXML input,
ErrorReporter errRep) |
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.