|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.application.ViewHandler org.apache.shale.test.mock.MockViewHandler
public class MockViewHandler
Mock implementation of ViewHandler
.
Field Summary |
---|
Fields inherited from class javax.faces.application.ViewHandler |
---|
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
Constructor Summary | |
---|---|
MockViewHandler()
Construct a default instance. |
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.faces.application.ViewHandler |
---|
calculateCharacterEncoding, initView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockViewHandler()
Construct a default instance.
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |