|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.view.AbstractFacesBean
org.apache.shale.view.AbstractViewController
org.apache.shale.usecases.view.TestViewController
public class TestViewController
Test implementation of Viewcontroller for use by
ViewControllerTestCase. Event history is accumulated
under a request scope attribute named by symbolic constant
ATTRIBUTES.
| Field Summary | |
|---|---|
static String |
ATTRIBUTE
|
| Constructor Summary | |
|---|---|
TestViewController()
Creates a new instance of TestViewController |
|
| Method Summary | |
|---|---|
void |
destroy()
|
String |
getText()
Return the accumuated history string. |
void |
init()
|
void |
preprocess()
|
void |
prerender()
|
String |
submit()
Do-nothing submit method. |
| Methods inherited from class org.apache.shale.view.AbstractViewController |
|---|
isPostBack, setPostBack |
| Methods inherited from class org.apache.shale.view.AbstractFacesBean |
|---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTRIBUTE
| Constructor Detail |
|---|
public TestViewController()
| Method Detail |
|---|
public String getText()
Return the accumuated history string.
public String submit()
Do-nothing submit method.
public void init()
init in interface org.apache.shale.view.ViewControllerinit in class org.apache.shale.view.AbstractViewControllerpublic void preprocess()
preprocess in interface org.apache.shale.view.ViewControllerpreprocess in class org.apache.shale.view.AbstractViewControllerpublic void prerender()
prerender in interface org.apache.shale.view.ViewControllerprerender in class org.apache.shale.view.AbstractViewControllerpublic void destroy()
destroy in interface org.apache.shale.view.ViewControllerdestroy in class org.apache.shale.view.AbstractViewController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||