Class Channel

    • Constructor Detail

      • Channel

        public Channel()
        Default constructor, for bean cloning purposes only.
      • Channel

        public Channel​(String type)
        Channel Constructor. All properties, except the type, are set to null.

        Parameters:
        type - the type of the RSS feed.
    • Method Detail

      • getTitle

        public String getTitle()
        Returns the channel title.

        Returns:
        the channel title, null if none.
      • setTitle

        public void setTitle​(String title)
        Sets the channel title.

        Parameters:
        title - the channel title to set, null if none.
      • getDescription

        public String getDescription()
        Returns the channel description.

        Returns:
        the channel description, null if none.
      • setDescription

        public void setDescription​(String description)
        Sets the channel description.

        Parameters:
        description - the channel description to set, null if none.
      • getLink

        public String getLink()
        Returns the channel link.

        Returns:
        the channel link, null if none.
      • setLink

        public void setLink​(String link)
        Sets the channel link.

        Parameters:
        link - the channel link to set, null if none.
      • getUri

        public String getUri()
        Returns the channel uri.

        Returns:
        the channel uri, null if none.
      • setUri

        public void setUri​(String uri)
        Sets the channel uri.

        Parameters:
        uri - the channel uri, null if none.
      • getImage

        public Image getImage()
        Returns the channel image.

        Returns:
        the channel image, null if none.
      • setImage

        public void setImage​(Image image)
        Sets the channel image.

        Parameters:
        image - the channel image to set, null if none.
      • getItems

        public List<Item> getItems()
        Returns the channel items.

        Returns:
        a list of Item elements with the channel items, an empty list if none.
      • setItems

        public void setItems​(List<Item> items)
        Sets the channel items.

        Parameters:
        items - the list of Item elements with the channel items to set, an empty list or null if none.
      • getTextInput

        public TextInput getTextInput()
        Returns the channel text input.

        Returns:
        the channel text input, null if none.
      • setTextInput

        public void setTextInput​(TextInput textInput)
        Sets the channel text input.

        Parameters:
        textInput - the channel text input to set, null if none.
      • getLanguage

        public String getLanguage()
        Returns the channel language.

        Returns:
        the channel language, null if none.
      • setLanguage

        public void setLanguage​(String language)
        Sets the channel language.

        Parameters:
        language - the channel language to set, null if none.
      • getRating

        public String getRating()
        Returns the channel rating.

        Returns:
        the channel rating, null if none.
      • setRating

        public void setRating​(String rating)
        Sets the channel rating.

        Parameters:
        rating - the channel rating to set, null if none.
      • getCopyright

        public String getCopyright()
        Returns the channel copyright.

        Returns:
        the channel copyright, null if none.
      • setCopyright

        public void setCopyright​(String copyright)
        Sets the channel copyright.

        Parameters:
        copyright - the channel copyright to set, null if none.
      • getPubDate

        public Date getPubDate()
        Returns the channel publishing date.

        Returns:
        the channel publishing date, null if none.
      • setPubDate

        public void setPubDate​(Date pubDate)
        Sets the channel publishing date.

        Parameters:
        pubDate - the channel publishing date to set, null if none.
      • getLastBuildDate

        public Date getLastBuildDate()
        Returns the channel last build date.

        Returns:
        the channel last build date, null if none.
      • setLastBuildDate

        public void setLastBuildDate​(Date lastBuildDate)
        Sets the channel last build date.

        Parameters:
        lastBuildDate - the channel last build date to set, null if none.
      • getDocs

        public String getDocs()
        Returns the channel docs.

        Returns:
        the channel docs, null if none.
      • setDocs

        public void setDocs​(String docs)
        Sets the channel docs.

        Parameters:
        docs - the channel docs to set, null if none.
      • getManagingEditor

        public String getManagingEditor()
        Returns the channel managing editor.

        Returns:
        the channel managing editor, null if none.
      • setManagingEditor

        public void setManagingEditor​(String managingEditor)
        Sets the channel managing editor.

        Parameters:
        managingEditor - the channel managing editor to set, null if none.
      • getWebMaster

        public String getWebMaster()
        Returns the channel web master.

        Returns:
        the channel web master, null if none.
      • setWebMaster

        public void setWebMaster​(String webMaster)
        Sets the channel web master.

        Parameters:
        webMaster - the channel web master to set, null if none.
      • getSkipHours

        public List<Integer> getSkipHours()
        Returns the channel skip hours.

        Returns:
        a list of Integer elements with the channel skip hours, an empty list if none.
      • setSkipHours

        public void setSkipHours​(List<Integer> skipHours)
        Sets the channel skip hours.

        Parameters:
        skipHours - the list of Integer elements with the channel skip hours to set, an empty list or null if none.
      • getSkipDays

        public List<String> getSkipDays()
        Returns the channel skip days.

        Returns:
        a list of Day elements with the channel skip days, an empty list if none.
      • setSkipDays

        public void setSkipDays​(List<String> skipDays)
        Sets the channel skip days.

        Parameters:
        skipDays - the list of Day elements with the channel skip days to set, an empty list or null if none.
      • getCloud

        public Cloud getCloud()
        Returns the channel cloud.

        Returns:
        the channel cloud, null if none.
      • setCloud

        public void setCloud​(Cloud cloud)
        Sets the channel cloud.

        Parameters:
        cloud - the channel cloud to set, null if none.
      • getCategories

        public List<Category> getCategories()
        Returns the channel categories.

        Returns:
        a list of Category elements with the channel categories, an empty list if none.
      • setCategories

        public void setCategories​(List<Category> categories)
        Sets the channel categories.

        Parameters:
        categories - the list of Category elements with the channel categories to set, an empty list or null if none.
      • getGenerator

        public String getGenerator()
        Returns the channel generator.

        Returns:
        the channel generator, null if none.
      • setGenerator

        public void setGenerator​(String generator)
        Sets the channel generator.

        Parameters:
        generator - the channel generator to set, null if none.
      • getTtl

        public int getTtl()
        Returns the channel time to live.

        Returns:
        the channel time to live, null if none.
      • setTtl

        public void setTtl​(int ttl)
        Sets the channel time to live.

        Parameters:
        ttl - the channel time to live to set, null if none.
      • getModules

        public List<Module> getModules()
        Returns the channel modules.

        Specified by:
        getModules in interface Extendable
        Overrides:
        getModules in class WireFeed
        Returns:
        a list of ModuleImpl elements with the channel modules, an empty list if none.
      • setModules

        public void setModules​(List<Module> modules)
        Sets the channel modules.

        Specified by:
        setModules in interface Extendable
        Overrides:
        setModules in class WireFeed
        Parameters:
        modules - the list of ModuleImpl elements with the channel modules to set, an empty list or null if none.
      • getModule

        public Module getModule​(String uri)
        Returns the module identified by a given URI.

        Specified by:
        getModule in interface Extendable
        Overrides:
        getModule in class WireFeed
        Parameters:
        uri - the URI of the ModuleImpl.
        Returns:
        The module with the given URI, null if none.