org.jboss.seam.faces.view
Class SeamViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by javax.faces.application.ViewHandlerWrapper
          extended by org.jboss.seam.faces.view.SeamViewHandler
All Implemented Interfaces:
FacesWrapper<ViewHandler>

public class SeamViewHandler
extends ViewHandlerWrapper

Wrap the built-in ViewHandler implementation for the purpose of wrapping the ViewDeclarationLanguage implementation in SeamViewDeclarationLanguage.

Author:
Dan Allen
See Also:
SeamViewDeclarationLanguage

Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME, FACELETS_SUFFIX_PARAM_NAME, FACELETS_VIEW_MAPPINGS_PARAM_NAME
 
Constructor Summary
SeamViewHandler(ViewHandler delegate)
           
 
Method Summary
 ViewDeclarationLanguage getViewDeclarationLanguage(FacesContext context, String viewId)
          If non-null, wrap the ViewDeclarationLanguage returned by the delegate in a new SeamViewDeclarationLanguage instance.
 ViewHandler getWrapped()
           
 
Methods inherited from class javax.faces.application.ViewHandlerWrapper
calculateCharacterEncoding, calculateLocale, calculateRenderKitId, createView, deriveViewId, getActionURL, getBookmarkableURL, getRedirectURL, getResourceURL, initView, renderView, restoreView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeamViewHandler

public SeamViewHandler(ViewHandler delegate)
Method Detail

getViewDeclarationLanguage

public ViewDeclarationLanguage getViewDeclarationLanguage(FacesContext context,
                                                          String viewId)
If non-null, wrap the ViewDeclarationLanguage returned by the delegate in a new SeamViewDeclarationLanguage instance.

Overrides:
getViewDeclarationLanguage in class ViewHandlerWrapper

getWrapped

public ViewHandler getWrapped()
Specified by:
getWrapped in interface FacesWrapper<ViewHandler>
Overrides:
getWrapped in class ViewHandlerWrapper


Copyright © 2009-2011 Seam Framework. All Rights Reserved.