org.apache.portals.applications.rss
Class RSSPortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.apache.portals.bridges.common.GenericServletPortlet
          extended byorg.apache.portals.bridges.velocity.GenericVelocityPortlet
              extended byorg.apache.portals.applications.rss.AbstractRssPortlet
                  extended byorg.apache.portals.applications.rss.RSSPortlet
All Implemented Interfaces:
EntityResolver, javax.portlet.Portlet, javax.portlet.PortletConfig

public class RSSPortlet
extends AbstractRssPortlet
implements EntityResolver

RSSPortlet

Version:
$Id: RSSPortlet.java 188249 2005-01-23 00:56:32Z shinsuke $
Author:
David Sean Taylor

Field Summary
private  Document document
           
private  Map stylesheets
           
 
Fields inherited from class org.apache.portals.applications.rss.AbstractRssPortlet
cache, transform
 
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
PORTLET_BRIDGE_CONTEXT
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Fields inherited from class javax.portlet.GenericPortlet
 
Constructor Summary
RSSPortlet()
           
 
Method Summary
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 Document getDocument(String url)
           
 void init(javax.portlet.PortletConfig config)
           
private  Reader openURL(String urlPath)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class org.apache.portals.applications.rss.AbstractRssPortlet
doEdit, processAction
 
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
doCustom, doHelp, doPreferencesEdit, getContext, render, setupPreferencesEdit
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

private Document document

stylesheets

private Map stylesheets
Constructor Detail

RSSPortlet

public RSSPortlet()
Method Detail

init

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

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
Specified by:
resolveEntity in interface EntityResolver

openURL

private Reader openURL(String urlPath)
                throws IOException
Throws:
IOException

getDocument

public Document getDocument(String url)
                     throws Exception
Throws:
Exception

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Throws:
javax.portlet.PortletException
IOException


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