public abstract class AbstractMvcViewFactory extends Object implements ViewFactory
Constructor and Description |
---|
AbstractMvcViewFactory(Expression viewId,
FlowViewResolver viewResolver,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver)
Creates a new MVC view factory.
|
Modifier and Type | Method and Description |
---|---|
View |
getView(RequestContext context)
Get the view to render for this request.
|
void |
setEventIdParameterName(String eventIdParameterName) |
void |
setFieldMarkerPrefix(String fieldMarkerPrefix) |
public AbstractMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver)
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 configurationpublic void setEventIdParameterName(String eventIdParameterName)
public void setFieldMarkerPrefix(String fieldMarkerPrefix)
public View getView(RequestContext context)
ViewFactory
getView
in interface ViewFactory
context
- the flow execution request context.