public class RssMessageRenderer extends SimpleMessageRenderer
Constructor and Description |
---|
RssMessageRenderer() |
Modifier and Type | Method and Description |
---|---|
protected com.sun.syndication.feed.synd.SyndEntry |
createEntry(QueueBrowser browser,
Message message,
HttpServletRequest request) |
protected com.sun.syndication.feed.synd.SyndContent |
createEntryContent(QueueBrowser browser,
Message message,
HttpServletRequest request) |
protected com.sun.syndication.feed.synd.SyndFeed |
createFeed(QueueBrowser browser,
HttpServletRequest request) |
String |
getDescription() |
String |
getEntryContentType() |
com.sun.syndication.feed.synd.SyndFeed |
getFeed(QueueBrowser browser,
HttpServletRequest request) |
String |
getFeedType() |
protected void |
printFooter(PrintWriter writer,
QueueBrowser browser,
HttpServletRequest request) |
protected void |
printHeader(PrintWriter writer,
QueueBrowser browser,
HttpServletRequest request) |
void |
renderMessage(PrintWriter writer,
HttpServletRequest request,
HttpServletResponse response,
QueueBrowser browser,
Message message) |
void |
setDescription(String feedDescription) |
void |
setEntryContentType(String entryContentType) |
void |
setFeedType(String feedType) |
getContentType, getMaxMessages, renderMessages, setContentType, setMaxMessages
public RssMessageRenderer()
public void renderMessage(PrintWriter writer, HttpServletRequest request, HttpServletResponse response, QueueBrowser browser, Message message) throws JMSException
renderMessage
in interface MessageRenderer
renderMessage
in class SimpleMessageRenderer
JMSException
public String getDescription()
public void setDescription(String feedDescription)
public String getFeedType()
public void setFeedType(String feedType)
public String getEntryContentType()
public void setEntryContentType(String entryContentType)
protected void printFooter(PrintWriter writer, QueueBrowser browser, HttpServletRequest request) throws IOException, JMSException, ServletException
printFooter
in class SimpleMessageRenderer
IOException
JMSException
ServletException
protected void printHeader(PrintWriter writer, QueueBrowser browser, HttpServletRequest request) throws IOException, JMSException
printHeader
in class SimpleMessageRenderer
IOException
JMSException
public com.sun.syndication.feed.synd.SyndFeed getFeed(QueueBrowser browser, HttpServletRequest request) throws JMSException
JMSException
protected com.sun.syndication.feed.synd.SyndEntry createEntry(QueueBrowser browser, Message message, HttpServletRequest request) throws JMSException
JMSException
protected com.sun.syndication.feed.synd.SyndContent createEntryContent(QueueBrowser browser, Message message, HttpServletRequest request) throws JMSException
JMSException
protected com.sun.syndication.feed.synd.SyndFeed createFeed(QueueBrowser browser, HttpServletRequest request) throws JMSException
JMSException
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.