Interface IFeedResource
-
- All Known Implementing Classes:
FeedResource
public interface IFeedResourceA feed resource.- title
- link
- description
- language
- date
- image
- items
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetDate()Gets the item publishing dateStringgetDescription()Gets the feed descriptionIFeedResourceImagegetImage()Gets the imageList<IFeedResourceItem>getItems()Gets the feed itemsStringgetLanguage()Gets the feed languageStringgetLink()Gets the feed link - usually the site url.StringgetTitle()Gets the feed titlevoidsetDate(Date date)Set the item publishing datevoidsetDescription(String strDescription)Sets the descriptionvoidsetImage(IFeedResourceImage image)Sets the imagevoidsetItems(List<IFeedResourceItem> listItems)Sets the feed itemsvoidsetLanguage(String strLanguage)Sets the languagevoidsetLink(String strLink)Sets the feed linkvoidsetTitle(String strTitle)Sets the feed title
-
-
-
Method Detail
-
getTitle
String getTitle()
Gets the feed title- Returns:
- the title
-
setTitle
void setTitle(String strTitle)
Sets the feed title- Parameters:
strTitle- the title
-
getLink
String getLink()
Gets the feed link - usually the site url.- Returns:
- the link
-
setLink
void setLink(String strLink)
Sets the feed link- Parameters:
strLink- the link - usually the site url.
-
getDescription
String getDescription()
Gets the feed description- Returns:
- the description
-
setDescription
void setDescription(String strDescription)
Sets the description- Parameters:
strDescription- the description
-
getLanguage
String getLanguage()
Gets the feed language- Returns:
- the language
-
setLanguage
void setLanguage(String strLanguage)
Sets the language- Parameters:
strLanguage- the language
-
getItems
List<IFeedResourceItem> getItems()
Gets the feed items- Returns:
- the items
-
setItems
void setItems(List<IFeedResourceItem> listItems)
Sets the feed items- Parameters:
listItems- the items
-
getImage
IFeedResourceImage getImage()
Gets the image- Returns:
- the image
-
setImage
void setImage(IFeedResourceImage image)
Sets the image- Parameters:
image- the image
-
getDate
Date getDate()
Gets the item publishing date- Returns:
- the date
-
setDate
void setDate(Date date)
Set the item publishing date- Parameters:
date- the date
-
-