com.ecyrd.jspwiki.rss
Class Feed
java.lang.Object
com.ecyrd.jspwiki.rss.Feed
- Direct Known Subclasses:
- AtomFeed, RSS10Feed, RSS20Feed
public abstract class Feed
- extends Object
- Since:
- Author:
- jalkanen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_entries
protected List m_entries
m_feedURL
protected String m_feedURL
m_channelTitle
protected String m_channelTitle
m_channelDescription
protected String m_channelDescription
m_channelLanguage
protected String m_channelLanguage
m_wikiContext
protected WikiContext m_wikiContext
m_mode
protected String m_mode
Feed
public Feed(WikiContext context)
setMode
public void setMode(String mode)
addEntry
public void addEntry(Entry e)
getString
public abstract String getString()
getChannelDescription
public String getChannelDescription()
- Returns:
- Returns the m_channelDescription.
setChannelDescription
public void setChannelDescription(String description)
- Parameters:
description
- The m_channelDescription to set.
getChannelLanguage
public String getChannelLanguage()
- Returns:
- Returns the m_channelLanguage.
setChannelLanguage
public void setChannelLanguage(String language)
- Parameters:
language
- The m_channelLanguage to set.
getChannelTitle
public String getChannelTitle()
- Returns:
- Returns the m_channelTitle.
setChannelTitle
public void setChannelTitle(String title)
- Parameters:
title
- The m_channelTitle to set.
getFeedURL
public String getFeedURL()
- Returns:
- Returns the m_feedURL.
setFeedURL
public void setFeedURL(String m_feedurl)
- Parameters:
m_feedurl
- The m_feedURL to set.
getMimeType
protected String getMimeType(javax.servlet.ServletContext c,
String name)
format
public static String format(String s)
- Does the required formatting and entity replacement for XML.