org.springframework.web.servlet.ViewResolver that delegates to others.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public int | |
| public List | |
| public View | resolveViewName(String
name of the view to resolve viewName, Locale the Locale in which to resolve the view.
ViewResolvers that support internationalization should respect this. locale)Implements org. Resolve the given view by name. |
| public void | setApplicationContext(ApplicationContext
the ApplicationContext object to be used by this object applicationContext)Implements org. Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object. |
| public void | |
| public void | setServletContext(ServletContext
the ServletContext object to be used by this object servletContext)Implements org. Set the Invoked after population of normal bean properties but before an init
callback like InitializingBean's |
| public void | setViewResolvers(List<ViewResolver> viewResolvers)
Set the list of view viewResolvers to delegate to. |
| order | back to summary |
|---|---|
| private int order | |
| viewResolvers | back to summary |
|---|---|
| private final List<ViewResolver> viewResolvers | |
| ViewResolverComposite | back to summary |
|---|---|
| public ViewResolverComposite() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() throws Exception Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. | |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| getViewResolvers | back to summary |
|---|---|
| public List Return the list of view viewResolvers to delegate to. | |
| resolveViewName | back to summary |
|---|---|
| public View resolveViewName(String viewName, Locale locale) throws Exception Implements org. Doc from org. Resolve the given view by name. Note To allow for ViewResolver chaining, a ViewResolver should
return | |
| setApplicationContext | back to summary |
|---|---|
| public void setApplicationContext(ApplicationContext applicationContext) throws BeansException Implements org. Doc from org. Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object. Invoked after population of normal bean properties but before an init callback such
as
| |
| setOrder | back to summary |
|---|---|
| public void setOrder(int order) | |
| setServletContext | back to summary |
|---|---|
| public void setServletContext(ServletContext servletContext) Implements org. Doc from org. Set the Invoked after population of normal bean properties but before an init
callback like InitializingBean's
| |
| setViewResolvers | back to summary |
|---|---|
| public void setViewResolvers(List<ViewResolver> viewResolvers) Set the list of view viewResolvers to delegate to. | |