Class ResourceRss

  • All Implemented Interfaces:
    IResourceRss

    public abstract class ResourceRss
    extends java.lang.Object
    implements IResourceRss
    ResourceRss that provides the resources rss. Implementations should override getFeed().
    • Constructor Detail

      • ResourceRss

        public ResourceRss()
    • Method Detail

      • getId

        public int getId()
        Get the rss id
        Specified by:
        getId in interface IResourceRss
        Returns:
        the rss Id
      • setId

        public void setId​(int nId)
        Set the rss id
        Specified by:
        setId in interface IResourceRss
        Parameters:
        nId - the rss id
      • getDescription

        public java.lang.String getDescription()
        Get Rss resource Description
        Specified by:
        getDescription in interface IResourceRss
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Set the RSS resource description
        Specified by:
        setDescription in interface IResourceRss
        Parameters:
        strDescription - the description
      • getName

        public java.lang.String getName()
        Get The RSS resource name
        Specified by:
        getName in interface IResourceRss
        Returns:
        the name
      • setName

        public void setName​(java.lang.String strName)
        Set the RSS resource name
        Specified by:
        setName in interface IResourceRss
        Parameters:
        strName - the name
      • getFeedType

        public java.lang.String getFeedType()
        Gets the feed type
        Specified by:
        getFeedType in interface IResourceRss
        Returns:
        the feed type
      • setFeedType

        public void setFeedType​(java.lang.String strFeedType)
        Sets the feed type
        Specified by:
        setFeedType in interface IResourceRss
        Parameters:
        strFeedType - the feed type
      • getEncoding

        public java.lang.String getEncoding()
        Gets the encoding
        Specified by:
        getEncoding in interface IResourceRss
        Returns:
        the encoding
      • setEncoding

        public void setEncoding​(java.lang.String strEncoding)
        Sets the encoding
        Specified by:
        setEncoding in interface IResourceRss
        Parameters:
        strEncoding - the encoding
      • getMaxItems

        public int getMaxItems()
        The number of displayed item.
        Specified by:
        getMaxItems in interface IResourceRss
        Returns:
        the number of displayed item
      • setMaxItems

        public void setMaxItems​(int nMaxItems)
        Sets the number of displayed item
        Specified by:
        setMaxItems in interface IResourceRss
        Parameters:
        nMaxItems - number of displayed item