|
CS 1705 Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcs1705.web.RssEntry
public class RssEntry
This class represents one entry in a syndication feed, like an
RssFeed.
| Constructor Summary | |
|---|---|
RssEntry()
Creates a new RssEntry object that is completely blank. |
|
RssEntry(RssEntry existingEntry)
Creates a new RssEntry object as a copy of an existing entry. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone this object. |
String |
getAuthor()
Get this entry's author. |
List<String> |
getAuthors()
Get this entry's authors. |
Date |
getDate()
Get this entry's publication date. |
String |
getDescription()
Get this entry's description. |
String |
getDescriptionType()
Get the MIME type of the description (like "text/html" or "text/plain"). |
URL |
getLink()
Get this entry's link as a URL. |
String |
getTitle()
Get this entry's title. |
void |
setAuthor(String author)
Set this entry's author. |
void |
setAuthors(List<String> authors)
Set this entry's authors. |
void |
setDate(Date date)
Set this entry's publication date. |
void |
setDescription(String description)
Set this entry's description. |
void |
setDescriptionType(String mimeType)
Set the MIME type for this entry's description. |
void |
setLink(URL link)
Set this entry's link. |
void |
setTitle(String title)
Set this entry's title. |
String |
toString()
Generate a printable version of this entry. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RssEntry()
public RssEntry(RssEntry existingEntry)
existingEntry - The entry to copy| Method Detail |
|---|
public String getAuthor()
getAuthor in interface RssEntitypublic void setAuthor(String author)
setAuthor in interface RssEntityauthor - This entry's authorpublic List<String> getAuthors()
getAuthors in interface RssEntitypublic void setAuthors(List<String> authors)
setAuthors in interface RssEntityauthors - A list of this entry's authorspublic Date getDate()
getDate in interface RssEntitypublic void setDate(Date date)
setDate in interface RssEntitydate - This entry's datepublic String getDescription()
getDescription in interface RssEntitypublic void setDescription(String description)
setDescription in interface RssEntitydescription - The new descriptionpublic String getDescriptionType()
public void setDescriptionType(String mimeType)
mimeType - The new MIME typepublic URL getLink()
getLink in interface RssEntitypublic void setLink(URL link)
setLink in interface RssEntitylink - The new URL to usepublic String getTitle()
getTitle in interface RssEntitypublic void setTitle(String title)
setTitle in interface RssEntitytitle - The entry's titlepublic Object clone()
clone in class Objectpublic String toString()
toString in class Object
|
Last updated: Wed, Apr 1, 2009 12:29 AM EDT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||