org.infohazard.maverick.view
Class DispatchedViewFactory.DispatchedView

java.lang.Object
  |
  +--org.infohazard.maverick.view.DispatchedViewFactory.DispatchedView
All Implemented Interfaces:
View
Enclosing class:
DispatchedViewFactory

protected static class DispatchedViewFactory.DispatchedView
extends java.lang.Object
implements View

The view is rendered as a RequestDispatcher.forward() or include().


Field Summary
protected  java.lang.String path
          Source url of the document.
 
Constructor Summary
DispatchedViewFactory.DispatchedView(java.lang.String path)
           
 
Method Summary
 void go(ViewContext vctx)
          Renders the url associated with this view directly to the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected java.lang.String path
Source url of the document.

Constructor Detail

DispatchedViewFactory.DispatchedView

public DispatchedViewFactory.DispatchedView(java.lang.String path)
Parameters:
path - is the URL of the document to render.
Method Detail

go

public void go(ViewContext vctx)
        throws java.io.IOException,
               javax.servlet.ServletException
Renders the url associated with this view directly to the response.

Specified by:
go in interface View
java.io.IOException
javax.servlet.ServletException
See Also:
View.go(org.infohazard.maverick.flow.ViewContext)