Class AbstractFeed

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractFeed()
      Constructor for AbstractFeed.
      AbstractFeed​(java.lang.String feedType)
      Constructor for AbstractFeed.
    • Field Detail

      • m_maxEntries

        protected int m_maxEntries
      • m_feedType

        protected java.lang.String m_feedType
      • m_urlBase

        protected java.lang.String m_urlBase
      • m_servletRequest

        protected javax.servlet.ServletRequest m_servletRequest
    • Constructor Detail

      • AbstractFeed

        public AbstractFeed()

        Constructor for AbstractFeed.

      • AbstractFeed

        public AbstractFeed​(java.lang.String feedType)

        Constructor for AbstractFeed.

        Parameters:
        feedType - a String object.
    • Method Detail

      • getUrlBase

        public final java.lang.String getUrlBase()

        getUrlBase

        Specified by:
        getUrlBase in interface Feed
        Returns:
        a String object.
      • setUrlBase

        public final void setUrlBase​(java.lang.String urlBase)

        setUrlBase

        Specified by:
        setUrlBase in interface Feed
        Parameters:
        urlBase - a String object.
      • getFeedType

        public final java.lang.String getFeedType()

        getFeedType

        Specified by:
        getFeedType in interface Feed
        Returns:
        a String object.
      • setFeedType

        public final void setFeedType​(java.lang.String feedType)

        setFeedType

        Specified by:
        setFeedType in interface Feed
        Parameters:
        feedType - a String object.
      • getMaxEntries

        public final int getMaxEntries()

        getMaxEntries

        Specified by:
        getMaxEntries in interface Feed
        Returns:
        a int.
      • setMaxEntries

        public final void setMaxEntries​(int maxEntries)

        setMaxEntries

        Specified by:
        setMaxEntries in interface Feed
        Parameters:
        maxEntries - a int.
      • getRequest

        public final javax.servlet.ServletRequest getRequest()

        getRequest

        Specified by:
        getRequest in interface Feed
        Returns:
        a ServletRequest object.
      • setRequest

        public final void setRequest​(javax.servlet.ServletRequest request)

        setRequest

        Specified by:
        setRequest in interface Feed
        Parameters:
        request - a ServletRequest object.
      • getServletContext

        public final javax.servlet.ServletContext getServletContext()
        Specified by:
        getServletContext in interface Feed
      • setServletContext

        public final void setServletContext​(javax.servlet.ServletContext context)
        Specified by:
        setServletContext in interface Feed
      • getFeed

        public abstract com.rometools.rome.feed.synd.SyndFeed getFeed()

        getFeed

        Returns:
        a SyndFeed object.
      • render

        public final java.lang.String render()

        render

        Specified by:
        render in interface Feed
        Returns:
        a String object.
      • sanitizeTitle

        protected java.lang.String sanitizeTitle​(java.lang.String title)

        sanitizeTitle

        Parameters:
        title - a String object.
        Returns:
        a String object.