|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.mvc.view.AbstractMvcViewFactory
public abstract class AbstractMvcViewFactory
Base class for mvc view factories.
Constructor Summary | |
---|---|
AbstractMvcViewFactory(Expression viewId,
FlowViewResolver viewResolver,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver)
Creates a new MVC view factory. |
Method Summary | |
---|---|
protected abstract AbstractMvcView |
createMvcView(org.springframework.web.servlet.View view,
RequestContext context)
Abstract factory method subclasses should implement to return the concrete MVC view implementation. |
View |
getView(RequestContext context)
Get the view to render for this request. |
void |
setEventIdParameterName(java.lang.String eventIdParameterName)
|
void |
setFieldMarkerPrefix(java.lang.String fieldMarkerPrefix)
|
void |
setValidationHintResolver(ValidationHintResolver validationHintResolver)
|
void |
setValidator(org.springframework.validation.Validator validator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 configurationMethod Detail |
---|
public void setEventIdParameterName(java.lang.String eventIdParameterName)
public void setFieldMarkerPrefix(java.lang.String fieldMarkerPrefix)
public void setValidator(org.springframework.validation.Validator validator)
public void setValidationHintResolver(ValidationHintResolver validationHintResolver)
public View getView(RequestContext context)
ViewFactory
getView
in interface ViewFactory
context
- the flow execution request context.
protected abstract AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context)
view
- the actual resolved view implementationcontext
- the current request context
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |