Class ControllerUtils.ViewFactory
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.ControllerUtils.ViewFactory
- Enclosing class:
- ControllerUtils
Creates a 
ModelAndView on demand.- Author:
- Donal Fellows
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ViewFactory- Parameters:
- viewName- The name of the view that this class will make.
 
 
- 
- 
Method Details- 
viewMake an instance.- Returns:
- The model-and-view, ready for decorating with the model.
 
- 
viewMake an instance.- Parameters:
- model- The model we want to start with.
- Returns:
- The model-and-view, ready for decorating with the model.
 
- 
viewMake an instance.- Parameters:
- key- Name of item to initially insert in the model.
- value- Value of item to initially insert in the model.
- Returns:
- The model-and-view, ready for decorating with the model.
 
 
-