org.springframework.webflow.mvc.view
Class AbstractMvcViewFactory
java.lang.Object
org.springframework.webflow.mvc.view.AbstractMvcViewFactory
- All Implemented Interfaces:
- ViewFactory
- Direct Known Subclasses:
- PortletMvcViewFactory, ServletMvcViewFactory
public abstract class AbstractMvcViewFactory
- extends Object
- implements ViewFactory
Base class for mvc view factories.
- Author:
- Keith Donald
AbstractMvcViewFactory
public AbstractMvcViewFactory(Expression viewId,
FlowViewResolver viewResolver,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver)
- Creates a new MVC view factory.
- Parameters:
viewId
- the id of the view as an expressionviewResolver
- the resolver to resolve the View implementationexpressionParser
- the expression parserconversionService
- the conversion servicebinderConfiguration
- the model binding configuration
setEventIdParameterName
public void setEventIdParameterName(String eventIdParameterName)
setFieldMarkerPrefix
public void setFieldMarkerPrefix(String fieldMarkerPrefix)
getView
public View getView(RequestContext context)
- Description copied from interface:
ViewFactory
- Get the view to render for this request.
- Specified by:
getView
in interface ViewFactory
- Parameters:
context
- the flow execution request context.
- Returns:
- the view to render