|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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 |
public static final int FORWARD
public static final int REDIRECT
public static final int INCLUDE
public static final java.lang.String DEFAULT_VIEW_NAME
public static final java.lang.String INPUT_VIEW_NAME
| Method Detail |
public int getType()
public java.lang.String getName()
public java.lang.String getPath()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||