Spring Web Flow

org.springframework.webflow.mvc.view
Interface FlowViewResolver

All Known Implementing Classes:
DelegatingFlowViewResolver, FlowResourceFlowViewResolver

public interface FlowViewResolver

A Web Flow flavor of the familiar Spring MVC View Resolver interface. Allows resolving a Spring MVC view from the state of an executing flow.

Author:
Keith Donald
See Also:
ViewResolver

Method Summary
 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.
 

Method Detail

resolveView

org.springframework.web.servlet.View resolveView(java.lang.String viewId,
                                                 RequestContext context)
Resolve the Spring MVC view with the provided id.

Parameters:
viewId - the view id, typically treated as a Spring MVC view name
context - the current flow request
Returns:
the resolved Spring MVC view

getViewIdByConvention

java.lang.String getViewIdByConvention(java.lang.String viewStateId)
Get the default id of the view to render in the provided view state by convention.

Parameters:
viewStateId - the view state id
Returns:
the default view id

Spring Web Flow