public class FeedResource extends Object implements IFeedResource
IFeedResource
implementation.Constructor and Description |
---|
FeedResource() |
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Gets the item publishing date
|
String |
getDescription()
Gets the feed description
|
IFeedResourceImage |
getImage()
Gets the image
|
List<IFeedResourceItem> |
getItems()
Gets the feed items
|
String |
getLanguage()
Gets the feed language
|
String |
getLink()
Gets the feed link - usually the site url.
|
String |
getTitle()
Gets the feed title
|
void |
setDate(Date date)
Set the item publishing date
|
void |
setDescription(String description)
Sets the description
|
void |
setImage(IFeedResourceImage image)
Sets the image
|
void |
setItems(List<IFeedResourceItem> listItems)
Sets the items
|
void |
setLanguage(String strLanguage)
Sets the language
|
void |
setLink(String strLink)
Sets the link
|
void |
setTitle(String title)
Sets the feed title
|
public String getDescription()
getDescription
in interface IFeedResource
public void setDescription(String description)
setDescription
in interface IFeedResource
description
- the descriptionpublic String getTitle()
getTitle
in interface IFeedResource
public void setTitle(String title)
setTitle
in interface IFeedResource
title
- the titlepublic IFeedResourceImage getImage()
getImage
in interface IFeedResource
public void setImage(IFeedResourceImage image)
setImage
in interface IFeedResource
image
- the imagepublic List<IFeedResourceItem> getItems()
getItems
in interface IFeedResource
public void setItems(List<IFeedResourceItem> listItems)
setItems
in interface IFeedResource
listItems
- the itemspublic String getLanguage()
getLanguage
in interface IFeedResource
public void setLanguage(String strLanguage)
setLanguage
in interface IFeedResource
strLanguage
- the languagepublic String getLink()
getLink
in interface IFeedResource
public void setLink(String strLink)
setLink
in interface IFeedResource
strLink
- the linkpublic Date getDate()
getDate
in interface IFeedResource
public void setDate(Date date)
setDate
in interface IFeedResource
date
- the dateCopyright © 2020 City of Paris. All rights reserved.