org.apache.myfaces.tobago.application
Class ViewHandlerImpl

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by org.apache.myfaces.tobago.application.ViewHandlerImpl

public class ViewHandlerImpl
extends ViewHandler


Field Summary
static String PAGE_ID
           
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
ViewHandlerImpl(ViewHandler base)
           
 
Method Summary
 Locale calculateLocale(FacesContext facesContext)
           
 String calculateRenderKitId(FacesContext facesContext)
           
 UIViewRoot createView(FacesContext facesContext, String viewId)
           
 String getActionURL(FacesContext facesContext, String viewId)
           
 String getResourceURL(FacesContext facesContext, String path)
           
 void renderView(FacesContext facesContext, UIViewRoot viewRoot)
           
 UIViewRoot restoreView(FacesContext facesContext, String viewId)
           
 void writeState(FacesContext facesContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_ID

public static final String PAGE_ID
See Also:
Constant Field Values
Constructor Detail

ViewHandlerImpl

public ViewHandlerImpl(ViewHandler base)
Method Detail

calculateLocale

public Locale calculateLocale(FacesContext facesContext)
Specified by:
calculateLocale in class ViewHandler

calculateRenderKitId

public String calculateRenderKitId(FacesContext facesContext)
Specified by:
calculateRenderKitId in class ViewHandler

createView

public UIViewRoot createView(FacesContext facesContext,
                             String viewId)
Specified by:
createView in class ViewHandler

getActionURL

public String getActionURL(FacesContext facesContext,
                           String viewId)
Specified by:
getActionURL in class ViewHandler

getResourceURL

public String getResourceURL(FacesContext facesContext,
                             String path)
Specified by:
getResourceURL in class ViewHandler

renderView

public void renderView(FacesContext facesContext,
                       UIViewRoot viewRoot)
                throws IOException,
                       FacesException
Specified by:
renderView in class ViewHandler
Throws:
IOException
FacesException

restoreView

public UIViewRoot restoreView(FacesContext facesContext,
                              String viewId)
Specified by:
restoreView in class ViewHandler

writeState

public void writeState(FacesContext facesContext)
                throws IOException
Specified by:
writeState in class ViewHandler
Throws:
IOException


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.