public class MockViewHandler
extends javax.faces.application.ViewHandler
Mock implementation of ViewHandler.
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME, DISABLE_FACELET_JSF_VIEWHANDLER_PARAM_NAME, FACELETS_BUFFER_SIZE_PARAM_NAME, FACELETS_DECORATORS_PARAM_NAME, FACELETS_LIBRARIES_PARAM_NAME, FACELETS_REFRESH_PERIOD_PARAM_NAME, FACELETS_SKIP_COMMENTS_PARAM_NAME, FACELETS_SUFFIX_PARAM_NAME, FACELETS_VIEW_MAPPINGS_PARAM_NAME| Constructor and Description |
|---|
MockViewHandler()
Construct a default instance.
|
| Modifier and Type | Method and Description |
|---|---|
Locale |
calculateLocale(javax.faces.context.FacesContext context) |
String |
calculateRenderKitId(javax.faces.context.FacesContext context) |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
String viewId) |
String |
getActionURL(javax.faces.context.FacesContext context,
String viewId) |
String |
getResourceURL(javax.faces.context.FacesContext context,
String path) |
String |
getWebsocketURL(javax.faces.context.FacesContext context,
String channelAndToken) |
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
String viewId) |
void |
writeState(javax.faces.context.FacesContext context) |
public Locale calculateLocale(javax.faces.context.FacesContext context)
calculateLocale in class javax.faces.application.ViewHandlerpublic String calculateRenderKitId(javax.faces.context.FacesContext context)
calculateRenderKitId in class javax.faces.application.ViewHandlerpublic javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
String viewId)
createView in class javax.faces.application.ViewHandlerpublic String getActionURL(javax.faces.context.FacesContext context, String viewId)
getActionURL in class javax.faces.application.ViewHandlerpublic String getResourceURL(javax.faces.context.FacesContext context, String path)
getResourceURL in class javax.faces.application.ViewHandlerpublic void renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
renderView in class javax.faces.application.ViewHandlerpublic javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
String viewId)
restoreView in class javax.faces.application.ViewHandlerpublic void writeState(javax.faces.context.FacesContext context)
writeState in class javax.faces.application.ViewHandlerCopyright © 2017 The Apache Software Foundation. All rights reserved.