Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.myfaces.orchestra.viewController
Class CompositeViewControllerNameMapper

    java.lang.Object
      org.apache.myfaces.orchestra.viewController.CompositeViewControllerNameMapper

All Implemented Interfaces:
  ViewControllerNameMapper

    public class CompositeViewControllerNameMapper

extends java.lang.Object
implements ViewControllerNameMapper

Each view controller configured with the constructor will be asked to map the given viewId. The first one not returning NULL wins.

As an example, this can be configured to first try a mapper that converts the viewId to a beanname, then if that fails to find a match try a mapper that uses class annotations to find an appropriate bean.

Constructor Summary
`CompositeViewControllerNameMapper(ViewControllerNameMapper[] viewControllerNameMappers)`

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

### CompositeViewControllerNameMapper

    public CompositeViewControllerNameMapper(ViewControllerNameMapper[] viewControllerNameMappers)

Method Detail

### mapViewId

    public java.lang.String mapViewId(java.lang.String viewId)

  Specified by:
    `mapViewId` in interface `ViewControllerNameMapper`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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