org.jboss.seam.mock
public class MockViewHandler extends javax.faces.application.ViewHandler
Constructor and Description |
---|
MockViewHandler() |
Modifier and Type | Method and Description |
---|---|
Locale |
calculateLocale(javax.faces.context.FacesContext ctx) |
String |
calculateRenderKitId(javax.faces.context.FacesContext ctx) |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext ctx,
String viewId) |
String |
getActionURL(javax.faces.context.FacesContext ctx,
String viewId) |
String |
getResourceURL(javax.faces.context.FacesContext ctx,
String url) |
void |
renderView(javax.faces.context.FacesContext ctx,
javax.faces.component.UIViewRoot viewRoot) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext ctx,
String id) |
void |
writeState(javax.faces.context.FacesContext ctx) |
public Locale calculateLocale(javax.faces.context.FacesContext ctx)
calculateLocale
in class javax.faces.application.ViewHandler
public String calculateRenderKitId(javax.faces.context.FacesContext ctx)
calculateRenderKitId
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext ctx, String viewId)
createView
in class javax.faces.application.ViewHandler
public String getActionURL(javax.faces.context.FacesContext ctx, String viewId)
getActionURL
in class javax.faces.application.ViewHandler
public String getResourceURL(javax.faces.context.FacesContext ctx, String url)
getResourceURL
in class javax.faces.application.ViewHandler
public void renderView(javax.faces.context.FacesContext ctx, javax.faces.component.UIViewRoot viewRoot) throws IOException, javax.faces.FacesException
renderView
in class javax.faces.application.ViewHandler
IOException
javax.faces.FacesException
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext ctx, String id)
restoreView
in class javax.faces.application.ViewHandler
public void writeState(javax.faces.context.FacesContext ctx) throws IOException
writeState
in class javax.faces.application.ViewHandler
IOException
Copyright © 2015 Seam Framework. All Rights Reserved.