org.codehaus.waffle.view
Class View

java.lang.Object
  extended by org.codehaus.waffle.view.View
Direct Known Subclasses:
RedirectView, ResponderView

public class View
extends java.lang.Object

Represents the value of the view, View resolver will dispatch

View should hold: - the value from that action method - The action

this allows for more granular decisions on how to handle a View

Author:
Michael Ward

Constructor Summary
View(java.lang.String name, java.lang.Object fromAction)
           
 
Method Summary
 java.lang.Object getFromController()
          Represent which Controller this View originated from
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View

public View(java.lang.String name,
            java.lang.Object fromAction)
Method Detail

getValue

public java.lang.String getValue()

getFromController

public java.lang.Object getFromController()
Represent which Controller this View originated from



Copyright © 2007 null. All Rights Reserved.