public class MockViewHandler
extends javax.faces.application.ViewHandler
Mock implementation of ViewHandler
.
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) |
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.ViewHandler
public String calculateRenderKitId(javax.faces.context.FacesContext context)
calculateRenderKitId
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, String viewId)
createView
in class javax.faces.application.ViewHandler
public String getActionURL(javax.faces.context.FacesContext context, String viewId)
getActionURL
in class javax.faces.application.ViewHandler
public String getResourceURL(javax.faces.context.FacesContext context, String path)
getResourceURL
in class javax.faces.application.ViewHandler
public void renderView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot view)
renderView
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, String viewId)
restoreView
in class javax.faces.application.ViewHandler
public void writeState(javax.faces.context.FacesContext context)
writeState
in class javax.faces.application.ViewHandler
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.