Return to www.inductionframework.org

com.acciente.induction.dispatcher.view
Class ViewExecutor

java.lang.Object
  extended by com.acciente.induction.dispatcher.view.ViewExecutor

public class ViewExecutor
extends java.lang.Object

Internal.

Author:
Adinath Raveendra Raj

Constructor Summary
ViewExecutor(ViewFactory oViewFactory, TemplatingEngine oTemplatingEngine)
           
 
Method Summary
 void execute(java.lang.Class oViewClass, javax.servlet.http.HttpServletRequest oRequest, javax.servlet.http.HttpServletResponse oResponse)
          This method is used to execute a view specified in terms of a type (Class object), this method is used to support processing view types (i.e.
 void execute(java.lang.Object oViewObject, javax.servlet.http.HttpServletResponse oResponse)
           
 void execute(ViewResolver.Resolution oViewResolution, javax.servlet.http.HttpServletRequest oRequest, javax.servlet.http.HttpServletResponse oResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewExecutor

public ViewExecutor(ViewFactory oViewFactory,
                    TemplatingEngine oTemplatingEngine)
Method Detail

execute

public void execute(ViewResolver.Resolution oViewResolution,
                    javax.servlet.http.HttpServletRequest oRequest,
                    javax.servlet.http.HttpServletResponse oResponse)
             throws ViewExecutorException
Throws:
ViewExecutorException

execute

public void execute(java.lang.Class oViewClass,
                    javax.servlet.http.HttpServletRequest oRequest,
                    javax.servlet.http.HttpServletResponse oResponse)
             throws ViewExecutorException
This method is used to execute a view specified in terms of a type (Class object), this method is used to support processing view types (i.e. class objects) returned from a controller, this is in addition to the current support for processing a view object returned from a controller.

Parameters:
oViewClass - a class object representing a type that implements a view class
oRequest - the servlet request object
oResponse - the servlet response object
Throws:
ViewExecutorException - thrown if an error occurs during view processing

execute

public void execute(java.lang.Object oViewObject,
                    javax.servlet.http.HttpServletResponse oResponse)
             throws ViewExecutorException
Throws:
ViewExecutorException

Return to www.inductionframework.org

Copyright © 2008-2011 Acciente, LLC. All Rights Reserved.