org.apache.commons.scxml.io

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Library » Apache commons scxml 0.9 » org.apache.commons.scxml.io 
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.

Two variants of the SCXML parser are present in this package:

  • SCXMLDigester represents the parser that corresponds to the July 05 Working Draft, and will be removed in v1.0. It will be present all v0.x releases for backwards compatability reasons.
  • SCXMLParser represents the newer version. This will be updated to keep up with the more recent Working Drafts.

Java Source File NameTypeComment
IOTestSuite.javaClass Test suite for SCXML IO package.
ModelUpdater.javaClass The ModelUpdater provides the utility methods to check the Commons SCXML model for inconsistencies, detect errors, and wire the Commons SCXML model appropriately post document parsing by the digester to make it executor ready.
SCXMLDigester.javaClass

The SCXMLDigester provides the ability to digest a SCXML document into the Java object model provided in the model package.

The SCXMLDigester can be used for:

  1. Digest a SCXML file into the Commons SCXML Java object model.
  2. Obtain a SCXML Digester for further customization of the default ruleset.

NOTE: The SCXMLDigester assumes that the SCXML document to be parsed is well-formed and correct.

SCXMLDigesterTest.javaClass Unit tests org.apache.commons.scxml.SCXMLDigester .
SCXMLParser.javaClass

The SCXMLParser provides the ability to parse a SCXML document into the Java object model provided in the model package.

The SCXMLParser can be used for:

  1. Parse a SCXML file into the Commons SCXML Java object model.
  2. Obtain a SCXML Parser for further customization of the default ruleset.

If switching from SCXMLDigester , changes need to be made to the SCXML documents, such as:

  • A <parallel> should not be wrapped in a <state> element unless otherwise necessary
  • <var> and <exit> elements continue to be supported by Commons SCXML, but in the Commons SCXML namespace: http://commons.apache.org/scxml
  • <event> is now supported

See latest version of the SCXML Working Draft for more details.

NOTE: The SCXMLParser assumes that the SCXML document to be parsed is well-formed and correct.

SCXMLParserTest.javaClass Unit tests org.apache.commons.scxml.SCXMLParser .
SCXMLSerializer.javaClass

Utility class for serializing the Commons SCXML Java object model.

SCXMLSerializerTest.javaClass
StateSrcTest.javaClass Unit tests org.apache.commons.scxml.SCXMLDigester Test white box nature of element "src" attribute.
w_w__w___.ja___v__a_2_s___.c___o___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.