org.apache.jetspeed.portal.portlets.viewprocessor
Class RSSViewProcessor

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.viewprocessor.XSLViewProcessor
      extended byorg.apache.jetspeed.portal.portlets.viewprocessor.RSSViewProcessor
All Implemented Interfaces:
ViewProcessor

public class RSSViewProcessor
extends XSLViewProcessor

Portlet which renders RDF Site Summary.

This portlet uses XML stylesheet for transforming the RSS content into display markup depending on the MimeType requested by the user-agent

It accepts the following parameters :

itemDisplayed
The number of items from the RSS file to display on screen. Default 15 for HTML, 5 for WML
showDescription
Should the portlet show the item descriptions. Must be true or false. Default: true for HTML, false for WML
showTitle
Should the portlet show the channel description. Must be true or false. Default: true for HTML, false for WML
stylesheet[.]
The stylesheet URL. If a mime-type is specified, the stylesheet is only used for this mime-type

Since:
1.4b4
Version:
$Id: $
Author:
Raphaël Luta

Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.portlets.viewprocessor.XSLViewProcessor
document, ERROR_NOT_VALID, INVALID_TYPE, stylesheets
 
Constructor Summary
RSSViewProcessor()
           
 
Method Summary
 void init(Portlet portlet)
          This method loads the init parameters and parse the document tied to this portlet
 
Methods inherited from class org.apache.jetspeed.portal.portlets.viewprocessor.XSLViewProcessor
cleanse, getNode, processView, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSViewProcessor

public RSSViewProcessor()
Method Detail

init

public void init(Portlet portlet)
          throws PortletException
This method loads the init parameters and parse the document tied to this portlet

Specified by:
init in interface ViewProcessor
Overrides:
init in class XSLViewProcessor
Parameters:
portlet -
Throws:
PortletException


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