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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.infohazard.maverick.flow.ViewWithTransforms
All Implemented Interfaces:
View

class ViewWithTransforms
extends java.lang.Object
implements View

ViewWithTransforms is a decorator that sets transforms when rendering a view.


Field Summary
protected  View decorated
          The decorated view
protected  Transform[] transforms
          The transforms associated with the decorated view
 
Constructor Summary
ViewWithTransforms(View decorate, Transform[] trans)
           
 
Method Summary
 void go(ViewContext vctx)
          Renders the specified model to the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decorated

protected View decorated
The decorated view


transforms

protected Transform[] transforms
The transforms associated with the decorated view

Constructor Detail

ViewWithTransforms

public ViewWithTransforms(View decorate,
                          Transform[] trans)
Method Detail

go

public void go(ViewContext vctx)
        throws java.io.IOException,
               javax.servlet.ServletException
Description copied from interface: View
Renders the specified model to the response.

Specified by:
go in interface View