com.acciente.induction.dispatcher.view
Class ViewExecutor

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

public class ViewExecutor
extends Object

Internal.

Author:
Adinath Raveendra Raj

Constructor Summary
ViewExecutor(ViewFactory oViewFactory, TemplatingEngine oTemplatingEngine)
           
 
Method Summary
 void execute(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(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(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(Object oViewObject,
                    javax.servlet.http.HttpServletResponse oResponse)
             throws ViewExecutorException
Throws:
ViewExecutorException


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