public interface ViewFactoryCreator
Modifier and Type | Method and Description |
---|---|
ViewFactory |
createViewFactory(Expression viewId,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration)
Create a view factory capable of creating
View objects that can render the view template with the
provided identifier. |
String |
getViewIdByConvention(String viewStateId)
Get the default id of the view to render in the provided view state by convention.
|
ViewFactory createViewFactory(Expression viewId, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration)
View
objects that can render the view template with the
provided identifier.viewId
- an expression that resolves the id of the view to renderexpressionParser
- an optional expression parser to use to resolve view expressionsconversionService
- an optional conversion service to use to format text valuesbinderConfiguration
- information on how the rendered view binds to a model that provides its data