Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.infohazard.maverick.flow
Class CommandSingleView  view CommandSingleView download CommandSingleView.java

java.lang.Object
  extended byorg.infohazard.maverick.flow.CommandBase
      extended byorg.infohazard.maverick.flow.CommandSingleView
All Implemented Interfaces:
Command

class CommandSingleView
extends CommandBase

Command implementation which only knows about a single view.


Field Summary
protected  Controller controller
           Reference to our Controller.
protected  View singleView
           
 
Constructor Summary
CommandSingleView(Controller ctl, View v)
           
 
Method Summary
protected  View getView(java.lang.String viewName)
           
 void go(MaverickContext mctx)
           Execute the Command and render the results!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleView

protected View singleView

controller

protected Controller controller

Reference to our Controller.

Constructor Detail

CommandSingleView

public CommandSingleView(Controller ctl,
                         View v)
Method Detail

getView

protected View getView(java.lang.String viewName)
Specified by:
getView in class CommandBase

go

public void go(MaverickContext mctx)
        throws java.io.IOException,
               javax.servlet.ServletException
Description copied from interface: Command

Execute the Command and render the results!

Specified by:
go in interface Command