org.springframework.webflow.execution.support
Class ApplicationView
java.lang.Object
org.springframework.webflow.execution.ViewSelection
org.springframework.webflow.execution.support.ApplicationView
- All Implemented Interfaces:
- java.io.Serializable
public final class ApplicationView
- extends ViewSelection
Concrete response type that requests the rendering of a local, internal
application view resource such as a JSP, Velocity, or FreeMarker template.
This is typically the most common type of view selection.
- Author:
- Keith Donald, Erwin Vervaet
- See Also:
- Serialized Form
|
Constructor Summary |
ApplicationView(java.lang.String viewName,
java.util.Map model)
Creates a new application view. |
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.util.Map |
getModel()
Return the view's application model that should be made available during
the rendering process. |
java.lang.String |
getViewName()
Returns the name of the view to render. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ApplicationView
public ApplicationView(java.lang.String viewName,
java.util.Map model)
- Creates a new application view.
- Parameters:
viewName - the name (or resource identifier) of the view that should
be renderedmodel - the map of application model data to make available to the
view during rendering; entries consist of model names (Strings) to model
objects (Objects), model entries may not be null, but the model Map may
be null if there is no model data
getViewName
public java.lang.String getViewName()
- Returns the name of the view to render.
getModel
public java.util.Map getModel()
- Return the view's application model that should be made available during
the rendering process. Never returns null. The returned map is unmodifiable.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2004-2006. All Rights Reserved.