Spring Web Flow

org.springframework.webflow.mvc.portlet
Class PortletMvcViewFactory

java.lang.Object
  extended by org.springframework.webflow.mvc.view.AbstractMvcViewFactory
      extended by org.springframework.webflow.mvc.portlet.PortletMvcViewFactory
All Implemented Interfaces:
ViewFactory

public class PortletMvcViewFactory
extends AbstractMvcViewFactory

Creates Portlet MVC views.

Author:
Keith Donald, Scott Andrews

Constructor Summary
PortletMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver)
          Creates a new portlet-based MVC view factory.
 
Method Summary
protected  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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletMvcViewFactory

public PortletMvcViewFactory(Expression viewId,
                             FlowViewResolver viewResolver,
                             ExpressionParser expressionParser,
                             ConversionService conversionService,
                             BinderConfiguration binderConfiguration,
                             org.springframework.validation.MessageCodesResolver messageCodesResolver)
Creates a new portlet-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
messageCodesResolver -
Method Detail

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

Spring Web Flow