@ -1,12 +1,12 @@
@@ -1,12 +1,12 @@
/ *
* Copyright 2002 - 2005 the original author or authors .
*
* Copyright 2002 - 2009 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
* You may obtain a copy of the License at
*
*
* http : //www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing , software
* distributed under the License is distributed on an "AS IS" BASIS ,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied .
@ -34,11 +34,11 @@ import java.util.Locale;
@@ -34,11 +34,11 @@ import java.util.Locale;
* @see org . springframework . web . servlet . view . XmlViewResolver
* /
public interface ViewResolver {
/ * *
* Resolve the given view by name .
* < p > Note : To allow for ViewResolver chaining , a ViewResolver should
* return < code > null < / code > if a view with the given name is not defined in it .
* return < code > null < / code > if a view with the given name is not defined in it .
* However , this is not required : Some ViewResolvers will always attempt
* to build View objects with the given name , unable to return < code > null < / code >
* ( rather throwing an exception when View creation failed ) .