SCXML: Difference between revisions

Content deleted Content added
Examples: move external links to references
Remove possible copyright violation. http://commons.apache.org/proper/commons-scxml/usecases/scxml-stopwatch.html says: Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.
Line 56:
 
The W3C document [http://www.w3.org/TR/mmi-auth/ Authoring Applications for the Multimodal Architecture] describes a multimodal system that implements the W3C Multimodal Architecture and gives an example of a simple multimodal application authored using various W3C markup languages, including SCXML, CCXML, VoiceXML 2.1 and HTML.
 
----
Here is the state chart diagram that describes the behavior of a stopwatch:
[[File:SCXML stopwatch.jpg|A state chart diagram that describes the behavior of a SCXML stopwatch]]
 
The SCXML file describing the transitions in this diagram is:
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="ready">
<state id="ready">
<transition event="watch.start" target="running"/>
</state>
<state id="running">
<transition event="watch.split" target="paused"/>
<transition event="watch.stop" target="stopped"/>
</state>
<state id="paused">
<transition event="watch.unsplit" target="running"/>
<transition event="watch.stop" target="stopped"/>
</state>
<state id="stopped">
<transition event="watch.reset" target="ready"/>
</state>
</scxml>
</source>
 
(Apache Licensed, see on [http://jakarta.apache.org/commons/scxml/usecases/scxml-stopwatch.html this page])
 
==Implementations==
Line 112 ⟶ 84:
==External links==
*[http://www.w3.org/TR/scxml/ W3C SCXML specification 1.0]
(Apache Licensed, see on *[http://jakarta.apache.org/commons/scxml/usecases/scxml-stopwatch.html thisSCXML Commons Usecases - Stopwatch pageexample])
 
{{W3C standards}}