|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.ViewController
init
in class org.apache.shale.view.AbstractViewController
public void preprocess()
preprocess
in interface org.apache.shale.view.ViewController
preprocess
in class org.apache.shale.view.AbstractViewController
public void prerender()
prerender
in interface org.apache.shale.view.ViewController
prerender
in class org.apache.shale.view.AbstractViewController
public void destroy()
destroy
in interface org.apache.shale.view.ViewController
destroy
in class org.apache.shale.view.AbstractViewController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |