|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.mvc.builder.FlowResourceFlowViewResolver
public class FlowResourceFlowViewResolver
Creates Spring-MVC Internal Resource view to render a flow-relative view resource such as a JSP template.
JstlView
,
InternalResourceView
Constructor Summary | |
---|---|
FlowResourceFlowViewResolver()
|
Method Summary | |
---|---|
java.lang.String |
getDefaultViewSuffix()
Returns the default view suffix when selecting views by convention. |
java.lang.String |
getViewIdByConvention(java.lang.String viewStateId)
Get the default id of the view to render in the provided view state by convention. |
org.springframework.web.servlet.View |
resolveView(java.lang.String viewId,
RequestContext context)
Resolve the Spring MVC view with the provided id. |
void |
setDefaultViewSuffix(java.lang.String defaultViewSuffix)
Sets the default suffix for view templates when selecting views by convention. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlowResourceFlowViewResolver()
Method Detail |
---|
public java.lang.String getDefaultViewSuffix()
public void setDefaultViewSuffix(java.lang.String defaultViewSuffix)
FlowResourceFlowViewResolver
is configured.
defaultViewSuffix
- the default view suffixpublic org.springframework.web.servlet.View resolveView(java.lang.String viewId, RequestContext context)
FlowViewResolver
resolveView
in interface FlowViewResolver
viewId
- the view id, typically treated as a Spring MVC view namecontext
- the current flow request
public java.lang.String getViewIdByConvention(java.lang.String viewStateId)
FlowViewResolver
getViewIdByConvention
in interface FlowViewResolver
viewStateId
- the view state id
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |