org.apache.jetspeed.portal.portlets
Class RSSPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
          extended byorg.apache.jetspeed.portal.portlets.FileWatchPortlet
              extended byorg.apache.jetspeed.portal.portlets.RSSPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable

public class RSSPortlet
extends FileWatchPortlet

Portlet to change RDF Site Summary into a portlet format for HTML presentation.

Version:
$Id: RSSPortlet.java,v 1.52 2004/02/23 04:03:33 jford Exp $
Author:
Kevin A. Burton, Santiago Gala
See Also:
Serialized Form

Nested Class Summary
static class RSSPortlet.Item
          Represents an RSS item.
 
Field Summary
static java.lang.String ERROR_NOT_VALID
           
 
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
content
 
Fields inherited from interface org.apache.jetspeed.portal.Portlet
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL
 
Constructor Summary
RSSPortlet()
           
 
Method Summary
 RSSPortlet.Item[] getItems()
          Get the items that were defined by this XML content
 void init()
          By default don't provide any initialization
 boolean isCacheable()
          Is this portlet cacheable.
 void setItems(RSSPortlet.Item[] items)
           
 
Methods inherited from class org.apache.jetspeed.portal.portlets.FileWatchPortlet
getExpire
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
getHandle
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_NOT_VALID

public static final java.lang.String ERROR_NOT_VALID
See Also:
Constant Field Values
Constructor Detail

RSSPortlet

public RSSPortlet()
Method Detail

init

public void init()
          throws PortletException
Description copied from class: AbstractPortlet
By default don't provide any initialization

Specified by:
init in interface Portlet
Overrides:
init in class AbstractPortlet
Throws:
PortletException

getItems

public RSSPortlet.Item[] getItems()
Get the items that were defined by this XML content


setItems

public void setItems(RSSPortlet.Item[] items)

isCacheable

public boolean isCacheable()
Description copied from class: AbstractPortlet
Is this portlet cacheable. It is the portlet's responsability to cache the content.

Specified by:
isCacheable in interface Cacheable
Overrides:
isCacheable in class AbstractPortlet
Returns:
true Cachable
false Not cachable


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