Class ServletMvcViewFactory
java.lang.Object
org.springframework.webflow.mvc.view.AbstractMvcViewFactory
org.springframework.webflow.mvc.servlet.ServletMvcViewFactory
- All Implemented Interfaces:
ViewFactory
Creates Servlet MVC views.
- Author:
- Keith Donald
-
Constructor Summary
ConstructorDescriptionServletMvcViewFactory
(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver) Creates a new servlet-based MVC view factory. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractMvcView
createMvcView
(org.springframework.web.servlet.View view, RequestContext context) Abstract factory method subclasses should implement to return the concrete MVC view implementation.Methods inherited from class org.springframework.webflow.mvc.view.AbstractMvcViewFactory
getView, setEventIdParameterName, setFieldMarkerPrefix, setValidationHintResolver, setValidator
-
Constructor Details
-
ServletMvcViewFactory
public ServletMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver) Creates a new servlet-based 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
-
-
Method Details
-
createMvcView
protected AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context) Description copied from class:AbstractMvcViewFactory
Abstract factory method subclasses should implement to return the concrete MVC view implementation.- Specified by:
createMvcView
in classAbstractMvcViewFactory
- Parameters:
view
- the actual resolved view implementationcontext
- the current request context- Returns:
- the mvc view
-