|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface View
Interface that defines a view in Tarsis MVC Framework.
The command view is the piece of software responsible of presentation logic.
A view is executed after when command action is finished.
Views are servlets, JSP pages, HTML pages and any other web artifact which we
can forward, redirect or include.
View type can be FORWARD, REDIRECT or INCLUDE depending on invokation's method.
FORWARD view is invoked using dispatch
method, REDIRECT view is
invoked using sendRedirect
method and INCLUDE using include
method.
Command
,
Action
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_VIEW_NAME
Default view name. |
static int |
FORWARD
Forward view type. |
static int |
INCLUDE
Include view type. |
static java.lang.String |
INPUT_VIEW_NAME
Input view name. |
static int |
REDIRECT
Redirect view type. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns name of view. |
java.lang.String |
getPath()
Returns path fo view. |
int |
getType()
Returns view's type. |
Field Detail |
---|
static final int FORWARD
static final int REDIRECT
static final int INCLUDE
static final java.lang.String DEFAULT_VIEW_NAME
static final java.lang.String INPUT_VIEW_NAME
Method Detail |
---|
int getType()
java.lang.String getName()
java.lang.String getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |