|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.mvc.ModelAndView
public class ModelAndView
Simple class that combines model and view.
Based on ModelAndView
Field Summary | |
---|---|
protected Map<? extends Object,? extends Object> |
model
Map that represents the model |
protected String |
view
View name |
Constructor Summary | |
---|---|
ModelAndView(String view,
Map<? extends Object,? extends Object> model)
Constructor |
Method Summary | |
---|---|
Map<? extends Object,? extends Object> |
getModel()
Returns model as an map |
String |
getView()
Returns view name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String view
protected Map<? extends Object,? extends Object> model
Constructor Detail |
---|
public ModelAndView(String view, Map<? extends Object,? extends Object> model)
view
- view namemodel
- map that represents the modelMethod Detail |
---|
public String getView()
public Map<? extends Object,? extends Object> getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |