| org.ofbiz.content.webapp.view.ViewHandler
All known Subclasses: org.ofbiz.content.webapp.view.VelocityViewHandler, org.ofbiz.content.webapp.view.JasperReportsXmlViewHandler, org.ofbiz.content.webapp.view.JspViewHandler, org.ofbiz.content.webapp.ftl.FreeMarkerViewHandler, org.ofbiz.content.webapp.view.JPublishViewHandler, org.ofbiz.content.webapp.view.RegionViewHandler, org.ofbiz.content.webapp.view.JasperReportsPdfViewHandler, com.sourcetap.sfa.view.SFAJasperViewHandler, org.ofbiz.content.webapp.view.HttpViewHandler, org.ofbiz.content.webapp.view.DataVisionViewHandler,
ViewHandler | public interface ViewHandler (Code) | | ViewHandler - View Handler Interface
author: Andy Zeneski version: $Revision: 1.2 $ since: 2.0 |
init | public void init(ServletContext context) throws ViewHandlerException(Code) | | Initializes the handler. Since handlers use the singleton pattern this method should only be called
the first time the handler is used.
Parameters: context - ServletContext This may be needed by the handler in order to lookup properties or XMLdefinition files for rendering pages or handler options. throws: ViewHandlerException - |
render | public void render(String name, String page, String info, String contentType, String encoding, HttpServletRequest request, HttpServletResponse response) throws ViewHandlerException(Code) | | Render the page.
Parameters: name - The name of the view. Parameters: page - The source of the view; could be a page, url, etc depending on the type of handler. Parameters: info - An info string attached to this view Parameters: request - The HttpServletRequest object used when requesting this page. Parameters: response - The HttpServletResponse object to be used to present the page. throws: ViewHandlerException - |
|
|