org.springframework.faces.webflow
Class JsfViewFactoryCreator
java.lang.Object
org.springframework.faces.webflow.JsfViewFactoryCreator
- All Implemented Interfaces:
- ViewFactoryCreator
public class JsfViewFactoryCreator
- extends java.lang.Object
- implements ViewFactoryCreator
A ViewFactoryCreator
implementation for creating instances of a JSF-specific ViewFactory
.
- Author:
- Jeremy Grelle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsfViewFactoryCreator
public JsfViewFactoryCreator()
createViewFactory
public ViewFactory createViewFactory(Expression viewIdExpression,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.Validator validator,
ValidationHintResolver resolver)
- Description copied from interface:
ViewFactoryCreator
- Create a view factory capable of creating
View
objects that can render the view template with the
provided identifier.
- Specified by:
createViewFactory
in interface ViewFactoryCreator
- Parameters:
viewIdExpression
- 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 datavalidator
- a global validator to invokeresolver
- a custom ValidationHintResolver to use
- Returns:
- the view factory
getViewIdByConvention
public java.lang.String getViewIdByConvention(java.lang.String viewStateId)
- Description copied from interface:
ViewFactoryCreator
- Get the default id of the view to render in the provided view state by convention.
- Specified by:
getViewIdByConvention
in interface ViewFactoryCreator
- Parameters:
viewStateId
- the view state id
- Returns:
- the default view id