|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by objects that can resolve views by name.
View state doesn't change during the running of the application, so implementations are free to cache views.
Implementations are encouraged to support internationalization, i.e. localized view resolution.
InternalResourceViewResolver
,
ResourceBundleViewResolver
,
XmlViewResolver
Method Summary | |
View |
resolveViewName(java.lang.String viewName,
java.util.Locale locale)
Resolve the given view by name. |
Method Detail |
public View resolveViewName(java.lang.String viewName, java.util.Locale locale) throws java.lang.Exception
viewName
- name of the view to resolvelocale
- Locale in which to resolve the view.
ViewResolvers that support internationalization should respect this.
java.lang.Exception
- if the view cannot be resolved
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |