org.apache.jetspeed.portal.portlets.viewprocessor
Interface ViewProcessor

All Known Implementing Classes:
BufferedJSPViewProcessor, BufferedVelocityViewProcessor, JSPViewProcessor, VelocityViewProcessor, XSLViewProcessor

public interface ViewProcessor

Interface that defines a ViewProcessor. This is what the GenericMVCPortlet uses via the ViewProcessorFactory to do the template processing portion of the MVC design pattern.

Version:
1.0
Author:
tkuebler

Method Summary
 void init(Portlet portlet)
          Process the template passed in the context (context.get("template")).
 java.lang.Object processView(GenericMVCContext context)
           
 

Method Detail

init

public void init(Portlet portlet)
          throws PortletException
Process the template passed in the context (context.get("template")). Invoked by the GenericMVCPortlet after action handling to process the template type in question.

Throws:
PortletException

processView

public java.lang.Object processView(GenericMVCContext context)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.