Class CustomRssViewer
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.view.AbstractView
-
- org.springframework.web.servlet.view.feed.AbstractFeedView<com.sun.syndication.feed.rss.Channel>
-
- org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
- ubic.gemma.web.controller.common.rss.CustomRssViewer
-
- All Implemented Interfaces:
Aware
,BeanNameAware
,ApplicationContextAware
,ServletContextAware
,View
@Component public class CustomRssViewer extends AbstractRssFeedView
- Author:
- sshao
-
-
Field Summary
-
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
-
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
-
Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description CustomRssViewer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<com.sun.syndication.feed.rss.Item>
buildFeedItems(Map<String,Object> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
buildFeedMetadata(Map<String,Object> model, com.sun.syndication.feed.rss.Channel feed, javax.servlet.http.HttpServletRequest request)
-
Methods inherited from class org.springframework.web.servlet.view.feed.AbstractRssFeedView
buildFeedEntries, newFeed
-
Methods inherited from class org.springframework.web.servlet.view.feed.AbstractFeedView
renderMergedOutputModel
-
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponse
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
-
-
-
-
Method Detail
-
buildFeedItems
protected List<com.sun.syndication.feed.rss.Item> buildFeedItems(Map<String,Object> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Specified by:
buildFeedItems
in classAbstractRssFeedView
-
buildFeedMetadata
protected void buildFeedMetadata(Map<String,Object> model, com.sun.syndication.feed.rss.Channel feed, javax.servlet.http.HttpServletRequest request)
- Overrides:
buildFeedMetadata
in classAbstractFeedView<com.sun.syndication.feed.rss.Channel>
-
-