|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.waffle.view.View
public class View
Represents the view that the resolver will dispatch. View holds:
Constructor Summary | |
---|---|
View(ControllerDefinition controllerDefinition)
Creates a View |
|
View(java.lang.String path)
Creates a View |
|
View(java.lang.String path,
java.lang.Object controller)
Deprecated. Use View(String) or View(ControllerDefinition) instead |
Method Summary | |
---|---|
java.lang.Object |
getController()
Returns the controller associated to this view |
ControllerDefinition |
getControllerDefinition()
Returns the controller definition associated to this view |
java.lang.String |
getPath()
Returns the view path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public View(java.lang.String path)
path
- represents the path of the View to be resolvedpublic View(ControllerDefinition controllerDefinition)
controllerDefinition
- the ControllerDefinition where the view originated frompublic View(java.lang.String path, java.lang.Object controller)
path
- represents the path of the View to be resolvedcontroller
- the controller where the view originated fromMethod Detail |
---|
public java.lang.String getPath()
public java.lang.Object getController()
public ControllerDefinition getControllerDefinition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |