org.apache.taglibs.rdc.dm
Class SCXMLDialog

java.lang.Object
  extended by org.apache.taglibs.rdc.dm.DialogManagerImpl
      extended by org.apache.taglibs.rdc.dm.SCXMLDialog
All Implemented Interfaces:
DialogManager

public class SCXMLDialog
extends DialogManagerImpl

A dialog management strategy for the RDC group container which uses a SCXML configuration file to define the dialog for each <group> instance. SCXML, or the "State Chart eXtensible Markup Language", provides a generic state-machine based execution environment based on CCXML and Harel State Tables. The URI of the SCXML document is the config attribute of the <group> tag.

Author:
Rahul Akolkar, Jaroslav Gergic

Field Summary
 
Fields inherited from class org.apache.taglibs.rdc.dm.DialogManagerImpl
groupState, groupTag, stack, stateMap
 
Constructor Summary
SCXMLDialog()
           
 
Method Summary
 void collect(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment)
          Collect the required information based on the SCXML config
 boolean initialize(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment)
          Initialiaze this doTag() invocation
 
Methods inherited from class org.apache.taglibs.rdc.dm.DialogManagerImpl
confirm, finish, setGroupTag, setPropertyChildren, setStateChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCXMLDialog

public SCXMLDialog()
Method Detail

initialize

public boolean initialize(javax.servlet.jsp.JspContext ctx,
                          javax.servlet.jsp.tagext.JspFragment bodyFragment)
                   throws javax.servlet.jsp.JspException,
                          java.io.IOException
Description copied from class: DialogManagerImpl
Initialiaze this doTag() invocation

Specified by:
initialize in interface DialogManager
Overrides:
initialize in class DialogManagerImpl
Parameters:
ctx - the JspContext
bodyFragment - The JspFragment indicating the body of this group
Throws:
javax.servlet.jsp.JspException
java.io.IOException

collect

public void collect(javax.servlet.jsp.JspContext ctx,
                    javax.servlet.jsp.tagext.JspFragment bodyFragment)
             throws javax.servlet.jsp.JspException,
                    java.io.IOException
Collect the required information based on the SCXML config

Specified by:
collect in interface DialogManager
Specified by:
collect in class DialogManagerImpl
Parameters:
ctx - the JspContext
bodyFragment - The JspFragment indicating the body of this group
Throws:
javax.servlet.jsp.JspException
java.io.IOException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.