org.jboss.aerogear.controller.view
Class View
java.lang.Object
org.jboss.aerogear.controller.view.View
public class View
- extends Object
A view in AeroGear consists of a path to a resource and optionally a model.
The path could be to a jsp page, or any other type of template language file.
- See Also:
ViewResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewPath
private final String viewPath
model
private final Object model
nameExtractor
private final TypeNameExtractor nameExtractor
View
public View(String viewPath)
View
public View(String viewPath,
Object model)
getViewPath
public String getViewPath()
getModelName
public String getModelName()
getModel
public Object getModel()
hasModelData
public boolean hasModelData()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.