org.apache.cocoon.portal.pluto.test
Class TestPortlet

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.test.TestPortlet
All Implemented Interfaces:
javax.portlet.Portlet

public class TestPortlet
extends Object
implements javax.portlet.Portlet

This is a very simple test portlet

Version:
CVS $Id: TestPortlet.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Constructor Summary
TestPortlet()
           
 
Method Summary
 void destroy()
           
 void init(javax.portlet.PortletConfig config)
           
 void processAction(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
 void render(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  void writeLink(Writer writer, javax.portlet.PortletURL url, String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPortlet

public TestPortlet()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface javax.portlet.Portlet

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Throws:
javax.portlet.PortletException

processAction

public void processAction(javax.portlet.ActionRequest req,
                          javax.portlet.ActionResponse res)
                   throws javax.portlet.PortletException,
                          IOException
Specified by:
processAction in interface javax.portlet.Portlet
Throws:
javax.portlet.PortletException
IOException

render

public void render(javax.portlet.RenderRequest req,
                   javax.portlet.RenderResponse res)
            throws javax.portlet.PortletException,
                   IOException
Specified by:
render in interface javax.portlet.Portlet
Throws:
javax.portlet.PortletException
IOException

writeLink

protected void writeLink(Writer writer,
                         javax.portlet.PortletURL url,
                         String text)
                  throws IOException
Throws:
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.