Interface IFeedResource
- All Known Implementing Classes:
FeedResource
public interface IFeedResource
A feed resource.
- title
- link
- description
- language
- date
- image
- items
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()Gets the item publishing dateGets the feed descriptiongetImage()Gets the imagegetItems()Gets the feed itemsGets the feed languagegetLink()Gets the feed link - usually the site url.getTitle()Gets the feed titlevoidSet 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 languagevoidSets the feed linkvoidSets the feed title
-
Method Details
-
getTitle
String getTitle()Gets the feed title- Returns:
- the title
-
setTitle
Sets the feed title- Parameters:
strTitle- the title
-
getLink
String getLink()Gets the feed link - usually the site url.- Returns:
- the link
-
setLink
Sets the feed link- Parameters:
strLink- the link - usually the site url.
-
getDescription
String getDescription()Gets the feed description- Returns:
- the description
-
setDescription
Sets the description- Parameters:
strDescription- the description
-
getLanguage
String getLanguage()Gets the feed language- Returns:
- the language
-
setLanguage
Sets the language- Parameters:
strLanguage- the language
-
getItems
List<IFeedResourceItem> getItems()Gets the feed items- Returns:
- the items
-
setItems
Sets the feed items- Parameters:
listItems- the items
-
getImage
IFeedResourceImage getImage()Gets the image- Returns:
- the image
-
setImage
Sets the image- Parameters:
image- the image
-
getDate
Date getDate()Gets the item publishing date- Returns:
- the date
-
setDate
Set the item publishing date- Parameters:
date- the date
-