Class ServletMvcViewFactory

java.lang.Object
org.springframework.webflow.mvc.view.AbstractMvcViewFactory
org.springframework.webflow.mvc.servlet.ServletMvcViewFactory
All Implemented Interfaces:
ViewFactory

public class ServletMvcViewFactory extends AbstractMvcViewFactory
Creates Servlet MVC views.
Author:
Keith Donald
  • 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 expression
      viewResolver - the resolver to resolve the View implementation
      expressionParser - the expression parser
      conversionService - the conversion service
      binderConfiguration - 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 class AbstractMvcViewFactory
      Parameters:
      view - the actual resolved view implementation
      context - the current request context
      Returns:
      the mvc view