|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Article
This is an interface for the GoogleBase plug in that exposes methods used for Article or News entry types.
Method Summary | |
---|---|
String[] |
getAuthors()
Array of Author Names. |
String |
getNewsSource()
Source for this article. |
Integer |
getPages()
Number of pages in the article. |
Date |
getPublishDate()
Date article was published. |
void |
setAuthors(String[] authors)
Array of Author Names. |
void |
setNewsSource(String newsSource)
Source for this article. |
void |
setPages(Integer pages)
Number of pages in the article. |
void |
setPublishDate(Date publishDate)
Date article was published. |
Methods inherited from interface org.rometools.feed.module.base.GlobalInterface |
---|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels |
Method Detail |
---|
void setAuthors(String[] authors)
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
authors
- Array of Author Names. Limit 10.String[] getAuthors()
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
void setNewsSource(String newsSource)
news_source | |
Details | The source of news content. |
Example | <g:news_source>Journal</g:news_source> |
Attribute of | News and Articles |
Content type | string |
newsSource
- Source for this articleString getNewsSource()
news_source | |
Details | The source of news content. |
Example | <g:news_source>Journal</g:news_source> |
Attribute of | News and Articles |
Content type | string |
void setPages(Integer pages)
pages | |
Details | The number of pages in the publication. |
Example | <g:pages>18</g:pages> |
Attribute of | Reference Items, News and Articles |
Content type | integer |
pages
- Number of pages in the articleInteger getPages()
pages | |
Details | The number of pages in the publication. |
Example | <g:pages>18</g:pages> |
Attribute of | Reference Items, News and Articles |
Content type | integer |
void setPublishDate(Date publishDate)
publish_date | |
Details | Date the item was published in ISO 8601 format: YYYY-MM-DD |
Example | <g:publish_date>2005-12-20</g:publish_date> |
Attribute of | Reference Items |
Content type | date |
publishDate
- Date article was publishedDate getPublishDate()
publish_date | |
Details | Date the item was published in ISO 8601 format: YYYY-MM-DD |
Example | <g:publish_date>2005-12-20</g:publish_date> |
Attribute of | Reference Items |
Content type | date |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |