|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pebble.web.view.View
public abstract class View
Represents a view component and prepares the model for display.
| Constructor Summary | |
|---|---|
View()
|
|
| Method Summary | |
|---|---|
abstract void |
dispatch(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
Dispatches this view. |
abstract java.lang.String |
getContentType()
Gets the content type of this view. |
Model |
getModel()
Gets the model. |
ServletContext |
getServletContext()
Gets the ServletContext in which this view is operating. |
void |
prepare()
Prepares the view for presentation. |
void |
setModel(Model model)
Sets the model. |
void |
setServletContext(ServletContext servletContext)
Gets the ServletContext in which this view is operating. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public View()
| Method Detail |
|---|
public abstract java.lang.String getContentType()
public Model getModel()
public void setModel(Model model)
model - a Model instancepublic ServletContext getServletContext()
public void setServletContext(ServletContext servletContext)
servletContext - a ServletContext instancepublic void prepare()
public abstract void dispatch(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
throws ServletException
request - the HttpServletRequest instanceresponse - the HttpServletResponse instancecontext - the ServletContext instance
ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||