org.apache.shale.dialog.scxml.impl
Class DefaultDialogStateMapper
java.lang.Object
org.apache.shale.dialog.scxml.impl.DefaultDialogStateMapper
- All Implemented Interfaces:
- DialogStateMapper
public class DefaultDialogStateMapper
- extends Object
- implements DialogStateMapper
Default DialogStateMapper
implementation. The dialog state
identifier itself is used as the JavaServer Faces
view identifier
.
- Since:
- 1.0.4
$Id: DefaultDialogStateMapper.java 469656 2006-10-31 21:18:18Z rahul $
Method Summary |
String |
mapStateId(String dialogName,
String stateId,
javax.faces.context.FacesContext context)
The default implementation is an identity transform which
returns the dialog state ID as the next JavaServer Faces
view identifier . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDialogStateMapper
public DefaultDialogStateMapper()
mapStateId
public String mapStateId(String dialogName,
String stateId,
javax.faces.context.FacesContext context)
The default implementation is an identity transform which
returns the dialog state ID as the next JavaServer Faces
view identifier
.
- Specified by:
mapStateId
in interface DialogStateMapper
- Parameters:
dialogName
- The logical name of the dialog this state belongs tostateId
- The state identifier for the current dialog statecontext
- The current FacesContext
- Returns:
- The JavaServer Faces
view identifier
that should
be rendered
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.