Save This Page
Home » mojarra-1.2_09-b02-FCS-source » javax.faces.application » [javadoc | source]
javax.faces.application
abstract public class: ViewHandlerWrapper [javadoc | source]
java.lang.Object
   javax.faces.application.ViewHandler
      javax.faces.application.ViewHandlerWrapper

Provides a simple implementation of ViewHandler that can be subclassed by developers wishing to provide specialized behavior to an existing ViewHandler instance. The default implementation of all methods is to call through to the wrapped ViewHandler .

Usage: extend this class and override #getWrapped to return the instance we are wrapping.

Fields inherited from javax.faces.application.ViewHandler:
CHARACTER_ENCODING_KEY,  DEFAULT_SUFFIX_PARAM_NAME,  DEFAULT_SUFFIX
Method from javax.faces.application.ViewHandlerWrapper Summary:
calculateCharacterEncoding,   calculateLocale,   calculateRenderKitId,   createView,   getActionURL,   getResourceURL,   getWrapped,   initView,   renderView,   restoreView,   writeState
Methods from javax.faces.application.ViewHandler:
calculateCharacterEncoding,   calculateLocale,   calculateRenderKitId,   createView,   getActionURL,   getResourceURL,   initView,   renderView,   restoreView,   writeState
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.application.ViewHandlerWrapper Detail:
 public String calculateCharacterEncoding(FacesContext context) 
 public Locale calculateLocale(FacesContext context) 
 public String calculateRenderKitId(FacesContext context) 
 public UIViewRoot createView(FacesContext context,
    String viewId) 
 public String getActionURL(FacesContext context,
    String viewId) 
 public String getResourceURL(FacesContext context,
    String path) 
 abstract protected ViewHandler getWrapped()
 public  void initView(FacesContext context) throws FacesException 
 public  void renderView(FacesContext context,
    UIViewRoot viewToRender) throws IOException, FacesException 
 public UIViewRoot restoreView(FacesContext context,
    String viewId) 
 public  void writeState(FacesContext context) throws IOException