public class Feed extends WireFeed
| Constructor and Description |
|---|
Feed()
Default constructor, for bean cloning purposes only.
|
Feed(java.lang.String type)
Feed Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Link> |
getAlternateLinks()
Returns the feed alternate links.
|
java.util.List<SyndPerson> |
getAuthors()
Returns the feed author.
|
java.util.List<Category> |
getCategories()
Returns the categories
|
java.util.List<SyndPerson> |
getContributors()
Returns the feed contributors.
|
java.lang.String |
getCopyright()
Returns the feed copyright (Atom 0.3, maps to
getRights()). |
java.util.List<Entry> |
getEntries()
Returns the feed entries.
|
Generator |
getGenerator()
Returns the feed generator.
|
java.lang.String |
getIcon()
Returns the icon
|
java.lang.String |
getId()
Returns the feed ID.
|
Content |
getInfo()
Returns the feed info (Atom 0.3 only)
|
java.lang.String |
getLanguage()
Returns the feed language (Atom 0.3 only)
|
java.lang.String |
getLogo()
Returns the logo
|
java.util.Date |
getModified()
Returns the feed modified date (Atom 0.3, maps to
getUpdated()). |
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI.
|
java.util.List<Module> |
getModules()
Returns the feed modules.
|
java.util.List<Link> |
getOtherLinks()
Returns the feed other links (non-alternate ones).
|
java.lang.String |
getRights()
Returns the rights
|
Content |
getSubtitle()
Returns the subtitle
|
Content |
getTagline()
Returns the feed tag line (Atom 0.3, maps to
getSubtitle()). |
java.lang.String |
getTitle()
Returns the feed title.
|
Content |
getTitleEx()
Returns the feed title.
|
java.util.Date |
getUpdated()
Returns the updated
|
java.lang.String |
getXmlBase()
Returns the xmlBase
|
void |
setAlternateLinks(java.util.List<Link> alternateLinks)
Sets the feed alternate links.
|
void |
setAuthors(java.util.List<SyndPerson> authors)
Sets the feed author.
|
void |
setCategories(java.util.List<Category> categories)
Set the categories
|
void |
setContributors(java.util.List<SyndPerson> contributors)
Sets the feed contributors.
|
void |
setCopyright(java.lang.String copyright)
Sets the feed copyright (Atom 0.3, maps to
setRights(java.lang.String)). |
void |
setEntries(java.util.List<Entry> entries)
Sets the feed entries.
|
void |
setGenerator(Generator generator)
Sets the feed generator.
|
void |
setIcon(java.lang.String icon)
Set the icon
|
void |
setId(java.lang.String id)
Sets the feed ID.
|
void |
setInfo(Content info)
Sets the feed info (Atom 0.3 only)
|
void |
setLanguage(java.lang.String language)
Sets the feed language (Atom 0.3 only)
|
void |
setLogo(java.lang.String logo)
Set the logo
|
void |
setModified(java.util.Date modified)
Sets the feed modified date (Atom 0.3, maps to
setUpdated(java.util.Date)). |
void |
setModules(java.util.List<Module> modules)
Sets the feed moduless.
|
void |
setOtherLinks(java.util.List<Link> otherLinks)
Sets the feed other links (non-alternate ones).
|
void |
setRights(java.lang.String rights)
Set the rights
|
void |
setSubtitle(Content subtitle)
Set the subtitle
|
void |
setTagline(Content tagline)
Sets the feed tagline (Atom 0.3, maps to
setSubtitle(com.rometools.rome.feed.atom.Content)). |
void |
setTitle(java.lang.String title)
Sets the feed title.
|
void |
setTitleEx(Content title)
Sets the feed title.
|
void |
setUpdated(java.util.Date updated)
Set the updated
|
void |
setXmlBase(java.lang.String xmlBase)
Set the xmlBase
|
clone, equals, getEncoding, getFeedType, getForeignMarkup, getStyleSheet, hashCode, setEncoding, setFeedType, setForeignMarkup, setStyleSheet, toStringpublic Feed()
public Feed(java.lang.String type)
type - the type of the Atom feed.public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - the feed language to set, null if none.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the feed title to set, null if none.public Content getTitleEx()
public void setTitleEx(Content title)
title - the feed title to set, null if none.public java.util.List<Link> getAlternateLinks()
public void setAlternateLinks(java.util.List<Link> alternateLinks)
alternateLinks - the list of Link elements with the feed alternate links to set, an
empty list or null if none.public java.util.List<Link> getOtherLinks()
public void setOtherLinks(java.util.List<Link> otherLinks)
otherLinks - the list of Link elements with the feed other links (non-alternate ones) to
set, an empty list or null if none.public java.util.List<SyndPerson> getAuthors()
public void setAuthors(java.util.List<SyndPerson> authors)
authors - the feed author to set, null if none.public java.util.List<SyndPerson> getContributors()
public void setContributors(java.util.List<SyndPerson> contributors)
contributors - the list of Person elements with the feed contributors to set, an empty
list or null if none.public Content getTagline()
getSubtitle()).
public void setTagline(Content tagline)
setSubtitle(com.rometools.rome.feed.atom.Content)).
tagline - the feed tagline to set, null if none.public java.lang.String getId()
public void setId(java.lang.String id)
id - the feed ID to set, null if none.public Generator getGenerator()
public void setGenerator(Generator generator)
generator - the feed generator to set, null if none.public java.lang.String getCopyright()
getRights()).
public void setCopyright(java.lang.String copyright)
setRights(java.lang.String)).
copyright - the feed copyright to set, null if none.public Content getInfo()
public void setInfo(Content info)
info - the feed info to set, null if none.public java.util.Date getModified()
getUpdated()).
public void setModified(java.util.Date modified)
setUpdated(java.util.Date)).
modified - the feed modified date to set, null if none.public java.util.List<Entry> getEntries()
public void setEntries(java.util.List<Entry> entries)
entries - the list of Entry elements with the feed entries to set, an empty list or
null if none.public java.util.List<Module> getModules()
getModules in interface ExtendablegetModules in class WireFeedpublic void setModules(java.util.List<Module> modules)
setModules in interface ExtendablesetModules in class WireFeedmodules - the list of ModuleImpl elements with the feed moduless to set, an empty list
or null if none.public Module getModule(java.lang.String uri)
getModule in interface ExtendablegetModule in class WireFeeduri - the URI of the ModuleImpl.public java.util.List<Category> getCategories()
public void setCategories(java.util.List<Category> categories)
categories - The categories to set.public java.lang.String getIcon()
public void setIcon(java.lang.String icon)
icon - The icon to set.public java.lang.String getLogo()
public void setLogo(java.lang.String logo)
logo - The logo to set.public java.lang.String getRights()
public void setRights(java.lang.String rights)
rights - The rights to set.public Content getSubtitle()
public void setSubtitle(Content subtitle)
subtitle - The subtitle to set.public java.util.Date getUpdated()
public void setUpdated(java.util.Date updated)
updated - The updated to set.public java.lang.String getXmlBase()
public void setXmlBase(java.lang.String xmlBase)
xmlBase - The xmlBase to set.Copyright © 2025. All rights reserved.