站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.1 API 英文版文档

MockViewHandler (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.mock
Class MockViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by org.jboss.seam.mock.MockViewHandler

public class MockViewHandler
extends javax.faces.application.ViewHandler


Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
MockViewHandler()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockViewHandler

public MockViewHandler()
Method Detail

calculateLocale

public Locale calculateLocale(javax.faces.context.FacesContext ctx)
Specified by:
calculateLocale in class javax.faces.application.ViewHandler

calculateRenderKitId

public String calculateRenderKitId(javax.faces.context.FacesContext ctx)
Specified by:
calculateRenderKitId in class javax.faces.application.ViewHandler

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext ctx,
                                                   String viewId)
Specified by:
createView in class javax.faces.application.ViewHandler

getActionURL

public String getActionURL(javax.faces.context.FacesContext ctx,
                           String viewId)
Specified by:
getActionURL in class javax.faces.application.ViewHandler

getResourceURL

public String getResourceURL(javax.faces.context.FacesContext ctx,
                             String url)
Specified by:
getResourceURL in class javax.faces.application.ViewHandler

renderView

public void renderView(javax.faces.context.FacesContext ctx,
                       javax.faces.component.UIViewRoot viewRoot)
                throws IOException,
                       javax.faces.FacesException
Specified by:
renderView in class javax.faces.application.ViewHandler
Throws:
IOException
javax.faces.FacesException

restoreView

public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext ctx,
                                                    String id)
Specified by:
restoreView in class javax.faces.application.ViewHandler

writeState

public void writeState(javax.faces.context.FacesContext ctx)
                throws IOException
Specified by:
writeState in class javax.faces.application.ViewHandler
Throws:
IOException