com.rometools.rome.feed.synd

Interface SyndFeed

    • Method Detail

      • getSupportedFeedTypes

        List<String> getSupportedFeedTypes()
        Returns the real feed types the SyndFeedImpl supports when converting from and to.

        Returns:
        the real feed type supported.
      • createWireFeed

        WireFeed createWireFeed()
        Creates a real feed containing the information of the SyndFeedImpl.

        The feed type of the created WireFeed is taken from the SyndFeedImpl feedType property.

        Returns:
        the real feed.
      • createWireFeed

        WireFeed createWireFeed(String feedType)
        Creates a real feed containing the information of the SyndFeedImpl.

        Parameters:
        feedType - the feed type for the WireFeed to be created.
        Returns:
        the real feed.
      • originalWireFeed

        WireFeed originalWireFeed()
        Returns the WireFeed this SyndFeed was created from. Will return null if the original feed is not stored or if this SyndFeed was not created from a WireFeed
        Returns:
        The WireFeed this was created from, or null
      • isPreservingWireFeed

        boolean isPreservingWireFeed()
        Returns:
        true if this SyndFeed preserves the WireFeed it was created from
      • getFeedType

        String getFeedType()
        Returns the wire feed type the feed had/will-have when converted from/to a WireFeed.

        Returns:
        the feed type, null if none.
      • setFeedType

        void setFeedType(String feedType)
        Sets the wire feed type the feed will-have when coverted to a WireFeed.

        Parameters:
        feedType - the feed type to set, null if none.
      • getEncoding

        String getEncoding()
        Returns the charset encoding of a the feed. This is not set by Rome parsers.

        Returns:
        the charset encoding of the feed.
      • setEncoding

        void setEncoding(String encoding)
        Sets the charset encoding of a the feed. This is not set by Rome parsers.

        Parameters:
        encoding - the charset encoding of the feed.
      • getUri

        String getUri()
        Returns the feed URI.

        How the feed URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping.

        The returned URI is a normalized URI as specified in RFC 2396bis.

        Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.

        Returns:
        the feed URI, null if none.
      • setUri

        void setUri(String uri)
        Sets the feed URI.

        How the feed URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping.

        Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.

        Parameters:
        uri - the feed URI to set, null if none.
      • getTitle

        String getTitle()
        Returns the feed title.

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

        void setTitle(String title)
        Sets the feed title.

        Parameters:
        title - the feed title to set, null if none.
      • getTitleEx

        SyndContent getTitleEx()
        Returns the feed title.

        Returns:
        the feed title, null if none.
      • setTitleEx

        void setTitleEx(SyndContent title)
        Sets the feed title.

        Parameters:
        title - the feed title to set, null if none.
      • getLink

        String getLink()
        Returns the feed link.

        Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.

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

        void setLink(String link)
        Sets the feed link.

        Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.

        Parameters:
        link - the feed link to set, null if none.
      • getLinks

        List<SyndLink> getLinks()
        Returns the entry links

        Returns:
        the entry links, null if none.
      • setLinks

        void setLinks(List<SyndLink> links)
        Sets the entry links.

        Parameters:
        links - the entry links to set, null if none.
      • getDescription

        String getDescription()
        Returns the feed description.

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

        void setDescription(String description)
        Sets the feed description.

        Parameters:
        description - the feed description to set, null if none.
      • getDescriptionEx

        SyndContent getDescriptionEx()
        Returns the feed description as a text construct.

        Returns:
        the feed description, null if none.
      • setDescriptionEx

        void setDescriptionEx(SyndContent description)
        Sets the feed description as a text construct.

        Parameters:
        description - the feed description to set, null if none.
      • getPublishedDate

        Date getPublishedDate()
        Returns the feed published date.

        This method is a convenience method, it maps to the Dublin Core module date.

        Returns:
        the feed published date, null if none.
      • setPublishedDate

        void setPublishedDate(Date publishedDate)
        Sets the feed published date.

        This method is a convenience method, it maps to the Dublin Core module date.

        Parameters:
        publishedDate - the feed published date to set, null if none.
      • getAuthors

        List<SyndPerson> getAuthors()
        Returns the feed authors.

        For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.

        Returns:
        the feed authors, null if none.
      • setAuthors

        void setAuthors(List<SyndPerson> authors)
        Sets the feed authors.

        For Atom feeds, this sets the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.

        Parameters:
        authors - the feed authors to set, null if none.
      • getAuthor

        String getAuthor()
        Returns the name of the first feed author in the collection of authors.

        For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.

        Returns:
        the feed author, null if none.
      • setAuthor

        void setAuthor(String author)
        Sets the feed author.

        For Atom feeds, this sets the feed author's name, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.

        Parameters:
        author - the feed author to set, null if none.
      • getContributors

        List<SyndPerson> getContributors()
        Returns the feed author.

        For Atom feeds, this returns the contributors as a list of SyndPerson objects

        Returns:
        the feed author, null if none.
      • setContributors

        void setContributors(List<SyndPerson> contributors)
        Sets the feed author.

        Returns contributors as a list of SyndPerson objects.

        Parameters:
        contributors - the feed contributors to set, null if none.
      • getCopyright

        String getCopyright()
        Returns the feed copyright.

        This method is a convenience method, it maps to the Dublin Core module rights.

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

        void setCopyright(String copyright)
        Sets the feed copyright.

        This method is a convenience method, it maps to the Dublin Core module rights.

        Parameters:
        copyright - the feed copyright to set, null if none.
      • getImage

        SyndImage getImage()
        Returns the feed image.

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

        void setImage(SyndImage image)
        Sets the feed image.

        Parameters:
        image - the feed image to set, null if none.
      • getCategories

        List<SyndCategory> getCategories()
        Returns the feed categories.

        This method is a convenience method, it maps to the Dublin Core module subjects.

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

        void setCategories(List<SyndCategory> categories)
        Sets the feed categories.

        This method is a convenience method, it maps to the Dublin Core module subjects.

        Parameters:
        categories - the list of SyndCategoryImpl elements with the feed categories to set, an empty list or null if none.
      • getEntries

        List<SyndEntry> getEntries()
        Returns the feed entries.

        Returns:
        a list of SyndEntry elements with the feed entries, an empty list if none.
      • setEntries

        void setEntries(List<SyndEntry> entries)
        Sets the feed entries.

        Parameters:
        entries - the list of SyndEntryImpl elements with the feed entries to set, an empty list or null if none.
      • getLanguage

        String getLanguage()
        Returns the feed language.

        This method is a convenience method, it maps to the Dublin Core module language.

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

        void setLanguage(String language)
        Sets the feed language.

        This method is a convenience method, it maps to the Dublin Core module language.

        Parameters:
        language - the feed language to set, null if none.
      • getModule

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

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

        List<Module> getModules()
        Returns the feed modules.

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

        void setModules(List<Module> modules)
        Sets the feed modules.

        Specified by:
        setModules in interface Extendable
        Parameters:
        modules - the list of ModuleImpl elements with the feed modules to set, an empty list or null if none.
      • getForeignMarkup

        List<org.jdom2.Element> getForeignMarkup()
        Returns foreign markup found at channel level.

        Returns:
        Opaque object to discourage use
      • setForeignMarkup

        void setForeignMarkup(List<org.jdom2.Element> foreignMarkup)
        Sets foreign markup found at channel level.

        Parameters:
        foreignMarkup - Opaque object to discourage use
      • getDocs

        String getDocs()
        This tag should contain a URL that references a description of the channel.
        Returns:
        channel description URL or null
        Since:
        2.0.0
      • setDocs

        void setDocs(String docs)
        This tag should contain a URL that references a description of the channel.
        Parameters:
        channel - description URL
        Since:
        2.0.0
      • getGenerator

        String getGenerator()
        A string indicating the program used to generate the channel.
        Returns:
        string indicating the program or null
        Since:
        2.0.0
      • setGenerator

        void setGenerator(String generator)
        A string indicating the program used to generate the channel.
        Parameters:
        string - indicating the program
        Since:
        2.0.0
      • getManagingEditor

        String getManagingEditor()
        The email address of the managing editor of the site, the person to contact for editorial inquiries.
        Returns:
        email address of the managing editor or null
        Since:
        2.0.0
      • setManagingEditor

        void setManagingEditor(String managingEditor)
        The email address of the managing editor of the site, the person to contact for editorial inquiries.
        Parameters:
        managingEditor - email address of the managing editor
        Since:
        2.0.0
      • getWebMaster

        String getWebMaster()
        The email address of the webmaster for the site, the person to contact if there are technical problems with the channel.
        Returns:
        email address of the webmaster or null
        Since:
        2.0.0
      • setWebMaster

        void setWebMaster(String webMaster)
        The email address of the webmaster for the site, the person to contact if there are technical problems with the channel.
        Parameters:
        webMaster - email address of the webmaster
        Since:
        2.0.0
      • getStyleSheet

        String getStyleSheet()
        URL of XSL-Stylesheet.
        Returns:
        styleSheet URL or null
        Since:
        2.0.0
      • setStyleSheet

        void setStyleSheet(String styleSheet)
        URL of XSL-Stylesheet.
        Parameters:
        styleSheet - URL or null
        Since:
        2.0.0

Copyright © 2014. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14