org.apache.shale.dialog.scxml.action
Class RedirectAction

java.lang.Object
  extended by org.apache.commons.scxml.model.Action
      extended by org.apache.shale.dialog.scxml.action.RedirectAction
All Implemented Interfaces:
Serializable, org.apache.commons.scxml.model.NamespacePrefixesHolder

public class RedirectAction
extends org.apache.commons.scxml.model.Action

Custom Commons SCXML action to signal that the next rendered view in this dialog should use a redirect.

Since:
1.0.4 $Id: RedirectAction.java 486006 2006-12-12 03:46:29Z rahul $
See Also:
Serialized Form

Constructor Summary
RedirectAction()
           
 
Method Summary
 void execute(org.apache.commons.scxml.EventDispatcher evtDispatcher, org.apache.commons.scxml.ErrorReporter errRep, org.apache.commons.scxml.SCInstance scInstance, Log appLog, Collection derivedEvents)
          Set redirection flag in dialog properties so the next rendered dialog view is issued as a redirect.
 
Methods inherited from class org.apache.commons.scxml.model.Action
getNamespaces, getNamespacesKey, getParent, getParentState, setNamespaces, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectAction

public RedirectAction()
Method Detail

execute

public void execute(org.apache.commons.scxml.EventDispatcher evtDispatcher,
                    org.apache.commons.scxml.ErrorReporter errRep,
                    org.apache.commons.scxml.SCInstance scInstance,
                    Log appLog,
                    Collection derivedEvents)
             throws org.apache.commons.scxml.model.ModelException,
                    org.apache.commons.scxml.SCXMLExpressionException

Set redirection flag in dialog properties so the next rendered dialog view is issued as a redirect.

Specified by:
execute in class org.apache.commons.scxml.model.Action
Parameters:
evtDispatcher - The EventDispatcher for this execution instance
errRep - The ErrorReporter
scInstance - The state machine execution instance information
appLog - The application log
derivedEvents - The collection of internal events
Throws:
org.apache.commons.scxml.model.ModelException - If execution causes a non-deterministic state
org.apache.commons.scxml.SCXMLExpressionException - Bad expression


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.