# XmlViewResolver Notes
### Dependencies

### Knowledge
* A ViewResolver implementation that uses XML file for view definitions, default in ``/WEB-INF/views.xml``
* Does not support internationalization.
* `Order` interface allows for ViewResolver chaining.
* `setLocation(Resource location)` specifies the location of the XML file.
* `setOrder(int order)` specifies the order in the Resolver chaining.
* If the ViewResolver's `loadView()` returns `null`, next ViewResolver will resolves.
* `initFactory()` uses the factory method design pattern and returns a BeanFactory. It reads the Xml file and load the bean definitions.
* `destroy()` will close the view bean when context shutdown.