It handles all RSS versions and Atom 0.3, it normalizes all info, it may lose information.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public WireFeed | Returns: the real feed.Creates a real feed containing the information of the SyndFeedImpl. |
| public WireFeed | Returns: the real feed.the feed type for the WireFeed to be created. feedType)Creates a real feed containing the information of the SyndFeedImpl. |
| public String | Returns: the feed author, null if none.Returns the name of the first feed author in the collection of authors. |
| public List | |
| public List | Returns: a list of SyndCategoryImpl elements with the feed categories, an empty list if none.Returns the feed categories. |
| public List | |
| public String | |
| public String | |
| public SyndContent | Returns: the feed description, null if none.Returns the feed description as a text construct. |
| public String | Returns: channel description URL ornullThis tag should contain a URL that references a description of the channel. |
| public String | |
| public List | Returns: a list of SyndEntry elements with the feed entries, an empty list if none.Returns the feed entries. |
| public String | Returns: the feed type, null if none.Returns the wire feed type the feed had/will-have when converted from/to a WireFeed. |
| public List | Returns: Opaque object to discourage useReturns foreign markup found at channel level. |
| public String | Returns: string indicating the program ornullA string indicating the program used to generate the channel. |
| public SyndImage | |
| public SyndImage | |
| public String | |
| public String | |
| public List | |
| public String | Returns: email address of the managing editor ornullThe email address of the managing editor of the site, the person to contact for editorial inquiries. |
| public Module | Returns: The module with the given URI, null if none.the URI of the ModuleImpl. uri)Redeclares com. |
| public List | Returns: a list of ModuleImpl elements with the feed modules, an empty list if none.Redeclares com. |
| public Date | |
| public String | |
| public List | Returns: the real feed type supported.Returns the real feed types the SyndFeedImpl supports when converting from and to. |
| public String | |
| public SyndContent | |
| public String | |
| public String | Returns: email address of the webmaster ornullThe email address of the webmaster for the site, the person to contact if there are technical problems with the channel. |
| public boolean | |
| public WireFeed | Returns: The WireFeed this was created from, or nullReturns the WireFeed this SyndFeed was created from. |
| public void | |
| public void | |
| public void | setCategories(List<SyndCategory>
the list of SyndCategoryImpl elements with the feed categories to set, an
empty list or null if none. categories)Sets the feed categories. |
| public void | setContributors(List<SyndPerson>
the feed contributors to set, null if none. contributors)Sets the feed author. |
| public void | |
| public void | setDescription(String
the feed description to set, null if none. description)Sets the feed description. |
| public void | setDescriptionEx(SyndContent
the feed description to set, null if none. description)Sets the feed description as a text construct. |
| public void | |
| public void | setEncoding(String
the charset encoding of the feed. encoding)Sets the charset encoding of a the feed. |
| public void | setEntries(List<SyndEntry>
the list of SyndEntryImpl elements with the feed entries to set, an empty list
or null if none. entries)Sets the feed entries. |
| public void | setFeedType(String
the feed type to set, null if none. feedType)Sets the wire feed type the feed will-have when coverted to a WireFeed. |
| public void | setForeignMarkup(List<Element>
Opaque object to discourage use foreignMarkup)Sets foreign markup found at channel level. |
| public void | setGenerator(String
indicating the program generator)A string indicating the program used to generate the channel. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setManagingEditor(String
email address of the managing editor managingEditor)The email address of the managing editor of the site, the person to contact for editorial inquiries. |
| public void | setModules(List<Module>
the list of ModuleImpl elements with the feed modules to set, an empty list or
null if none. modules)Redeclares com. |
| public void | setPublishedDate(Date
the feed published date to set, null if none. publishedDate)Sets the feed published date. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setWebMaster(String
email address of the webmaster webMaster)The email address of the webmaster for the site, the person to contact if there are technical problems with the channel. |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Creates a deep clone of the object.
| |
| createWireFeed | back to summary |
|---|---|
| public 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.
| |
| createWireFeed | back to summary |
|---|---|
| public WireFeed createWireFeed(String feedType) Creates a real feed containing the information of the SyndFeedImpl.
| |
| getAuthor | back to summary |
|---|---|
| public 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.
| |
| getAuthors | back to summary |
|---|---|
| public List 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.
| |
| getCategories | back to summary |
|---|---|
| public List Returns the feed categories. This method is a convenience method, it maps to the Dublin Core module subjects.
| |
| getContributors | back to summary |
|---|---|
| public List Returns the feed author. For Atom feeds, this returns the contributors as a list of SyndPerson objects
| |
| getCopyright | back to summary |
|---|---|
| public String getCopyright() Returns the feed copyright. This method is a convenience method, it maps to the Dublin Core module rights.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Returns the feed description.
| |
| getDescriptionEx | back to summary |
|---|---|
| public SyndContent getDescriptionEx() Returns the feed description as a text construct.
| |
| getDocs | back to summary |
|---|---|
| public String getDocs() This tag should contain a URL that references a description of the channel.
| |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Returns the charset encoding of a the feed. This is not set by Rome parsers.
| |
| getEntries | back to summary |
|---|---|
| public List Returns the feed entries.
| |
| getFeedType | back to summary |
|---|---|
| public String getFeedType() Returns the wire feed type the feed had/will-have when converted from/to a WireFeed.
| |
| getForeignMarkup | back to summary |
|---|---|
| public List Returns foreign markup found at channel level.
| |
| getGenerator | back to summary |
|---|---|
| public String getGenerator() A string indicating the program used to generate the channel.
| |
| getIcon | back to summary |
|---|---|
| public SyndImage getIcon() Returns the feed icon.
| |
| getImage | back to summary |
|---|---|
| public SyndImage getImage() Returns the feed image.
| |
| getLanguage | back to summary |
|---|---|
| public String getLanguage() Returns the feed language. This method is a convenience method, it maps to the Dublin Core module language.
| |
| getLink | back to summary |
|---|---|
| public 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.
| |
| getLinks | back to summary |
|---|---|
| public List Returns the entry links
| |
| getManagingEditor | back to summary |
|---|---|
| public String getManagingEditor() The email address of the managing editor of the site, the person to contact for editorial inquiries.
| |
| getModule | back to summary |
|---|---|
| public Module getModule(String uri) Redeclares com. Returns the module identified by a given URI.
| |
| getModules | back to summary |
|---|---|
| public List Redeclares com. Returns the feed modules.
| |
| getPublishedDate | back to summary |
|---|---|
| public Date getPublishedDate() Returns the feed published date. This method is a convenience method, it maps to the Dublin Core module date.
| |
| getStyleSheet | back to summary |
|---|---|
| public String getStyleSheet() URL of XSL-Stylesheet.
| |
| getSupportedFeedTypes | back to summary |
|---|---|
| public List Returns the real feed types the SyndFeedImpl supports when converting from and to.
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Returns the feed title.
| |
| getTitleEx | back to summary |
|---|---|
| public SyndContent getTitleEx() Returns the feed title.
| |
| getUri | back to summary |
|---|---|
| public 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.
| |
| getWebMaster | back to summary |
|---|---|
| public String getWebMaster() The email address of the webmaster for the site, the person to contact if there are technical problems with the channel.
| |
| isPreservingWireFeed | back to summary |
|---|---|
public boolean isPreservingWireFeed()
| |
| originalWireFeed | back to summary |
|---|---|
| public 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
| |
| setAuthor | back to summary |
|---|---|
| public 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.
| |
| setAuthors | back to summary |
|---|---|
| public 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.
| |
| setCategories | back to summary |
|---|---|
| public void setCategories(List<SyndCategory> categories) Sets the feed categories. This method is a convenience method, it maps to the Dublin Core module subjects.
| |
| setContributors | back to summary |
|---|---|
| public void setContributors(List<SyndPerson> contributors) Sets the feed author. Returns contributors as a list of SyndPerson objects.
| |
| setCopyright | back to summary |
|---|---|
| public void setCopyright(String copyright) Sets the feed copyright. This method is a convenience method, it maps to the Dublin Core module rights.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Sets the feed description.
| |
| setDescriptionEx | back to summary |
|---|---|
| public void setDescriptionEx(SyndContent description) Sets the feed description as a text construct.
| |
| setDocs | back to summary |
|---|---|
| public void setDocs(String docs) This tag should contain a URL that references a description of the channel.
| |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) Sets the charset encoding of a the feed. This is not set by Rome parsers.
| |
| setEntries | back to summary |
|---|---|
| public void setEntries(List<SyndEntry> entries) Sets the feed entries.
| |
| setFeedType | back to summary |
|---|---|
| public void setFeedType(String feedType) Sets the wire feed type the feed will-have when coverted to a WireFeed.
| |
| setForeignMarkup | back to summary |
|---|---|
| public void setForeignMarkup(List<Element> foreignMarkup) Sets foreign markup found at channel level.
| |
| setGenerator | back to summary |
|---|---|
| public void setGenerator(String generator) A string indicating the program used to generate the channel.
| |
| setIcon | back to summary |
|---|---|
| public void setIcon(SyndImage icon) Sets the feed icon.
| |
| setImage | back to summary |
|---|---|
| public void setImage(SyndImage image) Sets the feed image.
| |
| setLanguage | back to summary |
|---|---|
| public void setLanguage(String language) Sets the feed language. This method is a convenience method, it maps to the Dublin Core module language.
| |
| setLink | back to summary |
|---|---|
| public 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.
| |
| setLinks | back to summary |
|---|---|
| public void setLinks(List<SyndLink> links) Sets the entry links.
| |
| setManagingEditor | back to summary |
|---|---|
| public void setManagingEditor(String managingEditor) The email address of the managing editor of the site, the person to contact for editorial inquiries.
| |
| setModules | back to summary |
|---|---|
| public void setModules(List<Module> modules) Redeclares com. Sets the feed modules.
| |
| setPublishedDate | back to summary |
|---|---|
| public void setPublishedDate(Date publishedDate) Sets the feed published date. This method is a convenience method, it maps to the Dublin Core module date.
| |
| setStyleSheet | back to summary |
|---|---|
| public void setStyleSheet(String styleSheet) URL of XSL-Stylesheet.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Sets the feed title.
| |
| setTitleEx | back to summary |
|---|---|
| public void setTitleEx(SyndContent title) Sets the feed title.
| |
| setUri | back to summary |
|---|---|
| public 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.
| |
| setWebMaster | back to summary |
|---|---|
| public 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.
| |