Class AbstractFeed

    • Field Detail

      • m_maxEntries

        protected int m_maxEntries
      • m_feedType

        protected String m_feedType
      • m_urlBase

        protected String m_urlBase
      • m_servletRequest

        protected javax.servlet.ServletRequest m_servletRequest
    • Constructor Detail

      • AbstractFeed

        public AbstractFeed()

        Constructor for AbstractFeed.

      • AbstractFeed

        public AbstractFeed​(String feedType)

        Constructor for AbstractFeed.

        Parameters:
        feedType - a String object.
    • Method Detail

      • setUrlBase

        public final void setUrlBase​(String urlBase)

        setUrlBase

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

        public final void setFeedType​(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 String render()

        render

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

        protected String sanitizeTitle​(String title)

        sanitizeTitle

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