Class AbstractMvcViewFactory
java.lang.Object
org.springframework.webflow.mvc.view.AbstractMvcViewFactory
- All Implemented Interfaces:
- ViewFactory
- Direct Known Subclasses:
- ServletMvcViewFactory
Base class for mvc view factories.
- Author:
- Keith Donald
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver) Creates a new MVC view factory.
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract AbstractMvcViewcreateMvcView(org.springframework.web.servlet.View view, RequestContext context) Abstract factory method subclasses should implement to return the concrete MVC view implementation.getView(RequestContext context) Get the view to render for this request.voidsetEventIdParameterName(String eventIdParameterName) voidsetFieldMarkerPrefix(String fieldMarkerPrefix) voidsetValidationHintResolver(ValidationHintResolver validationHintResolver) voidsetValidator(org.springframework.validation.Validator validator) 
- 
Constructor Details- 
AbstractMvcViewFactorypublic 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 expression
- viewResolver- the resolver to resolve the View implementation
- expressionParser- the expression parser
- conversionService- the conversion service
- binderConfiguration- the model binding configuration
 
 
- 
- 
Method Details- 
setEventIdParameterName
- 
setFieldMarkerPrefix
- 
setValidatorpublic void setValidator(org.springframework.validation.Validator validator) 
- 
setValidationHintResolver
- 
getViewDescription copied from interface:ViewFactoryGet the view to render for this request.- Specified by:
- getViewin interface- ViewFactory
- Parameters:
- context- the flow execution request context.
- Returns:
- the view to render
 
- 
createMvcViewprotected abstract AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context) Abstract factory method subclasses should implement to return the concrete MVC view implementation.- Parameters:
- view- the actual resolved view implementation
- context- the current request context
- Returns:
- the mvc view
 
 
-