org.apache.myfaces.orchestra.viewController
Class DefaultViewControllerNameMapper

java.lang.Object
  extended by org.apache.myfaces.orchestra.viewController.DefaultViewControllerNameMapper
All Implemented Interfaces:
ViewControllerNameMapper

public class DefaultViewControllerNameMapper
extends java.lang.Object
implements ViewControllerNameMapper

Map view-ids to bean names.

The strategy of this mapper is as follows:

Examples:

ViewIdBeanName
/userInfo.jspuserInfo
/SecureArea/userPassword.jspsecureAreaUserPassword


Constructor Summary
DefaultViewControllerNameMapper()
           
 
Method Summary
 java.lang.String mapViewId(java.lang.String viewId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultViewControllerNameMapper

public DefaultViewControllerNameMapper()
Method Detail

mapViewId

public java.lang.String mapViewId(java.lang.String viewId)
Specified by:
mapViewId in interface ViewControllerNameMapper


Copyright 2007 The Apache Software Foundation. All Rights Reserved.