|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.synd.SyndEntry
Bean for entries of SyndFeed feeds.
Constructor Summary | |
SyndEntry()
Default constructor. |
Method Summary | |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
java.lang.String |
getAuthor()
Returns the entry author. |
java.util.List |
getCategories()
Returns the entry categories. |
java.util.List |
getContents()
Returns the entry contents. |
SyndContentI |
getDescription()
Returns the entry description. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
java.lang.String |
getLink()
Returns the entry link. |
ModuleI |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the entry modules. |
java.util.Date |
getPublishedDate()
Returns the entry published date. |
java.lang.String |
getTitle()
Returns the entry title. |
void |
setAuthor(java.lang.String author)
Sets the entry author. |
void |
setCategories(java.util.List categories)
Sets the entry categories. |
void |
setContents(java.util.List contents)
Sets the entry contents. |
void |
setDescription(SyndContentI description)
Sets the entry description. |
void |
setLink(java.lang.String link)
Sets the entry link. |
void |
setModules(java.util.List modules)
Sets the entry modules. |
void |
setPublishedDate(java.util.Date publishedDate)
Sets the entry published date. |
void |
setTitle(java.lang.String title)
Sets the entry title. |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.syndication.feed.synd.SyndEntryI |
clone |
Methods inherited from interface com.sun.syndication.common.ToString |
toString |
Constructor Detail |
public SyndEntry()
Method Detail |
public java.lang.String getTitle()
getTitle
in interface SyndEntryI
public void setTitle(java.lang.String title)
setTitle
in interface SyndEntryI
title
- the entry title to set, null if none.public java.lang.String getLink()
getLink
in interface SyndEntryI
public void setLink(java.lang.String link)
setLink
in interface SyndEntryI
link
- the entry link to set, null if none.public SyndContentI getDescription()
getDescription
in interface SyndEntryI
public void setDescription(SyndContentI description)
setDescription
in interface SyndEntryI
description
- the entry description to set, null if none.public java.util.List getContents()
getContents
in interface SyndEntryI
public void setContents(java.util.List contents)
setContents
in interface SyndEntryI
contents
- the list of SyndContent elements with the entry contents to set,
an empty list or null if none.public java.util.Date getPublishedDate()
This method is a convenience method, it maps to the Dublin Core module date.
getPublishedDate
in interface SyndEntryI
public void setPublishedDate(java.util.Date publishedDate)
This method is a convenience method, it maps to the Dublin Core module date.
setPublishedDate
in interface SyndEntryI
publishedDate
- the entry published date to set, null if none.public java.lang.String getAuthor()
This method is a convenience method, it maps to the Dublin Core module creator.
getAuthor
in interface SyndEntryI
public void setAuthor(java.lang.String author)
This method is a convenience method, it maps to the Dublin Core module creator.
setAuthor
in interface SyndEntryI
author
- the entry author to set, null if none.public java.util.List getCategories()
This method is a convenience method, it maps to the Dublin Core module subjects.
getCategories
in interface SyndEntryI
public void setCategories(java.util.List categories)
This method is a convenience method, it maps to the Dublin Core module subjects.
setCategories
in interface SyndEntryI
categories
- the list of SyndCategory elements with the entry categories to set,
an empty list or null if none.public java.util.List getModules()
getModules
in interface SyndEntryI
public void setModules(java.util.List modules)
setModules
in interface SyndEntryI
modules
- the list of Module elements with the entry modules to set,
an empty list or null if none.public ModuleI getModule(java.lang.String uri)
getModule
in interface SyndEntryI
uri
- the URI of the Module.
public java.lang.Class getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, ModuleI.
getInterface
in interface CopyFrom
public void copyFrom(java.lang.Object obj)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeedI bean implementation to a Hibernate ready implementation.
copyFrom
in interface CopyFrom
obj
- the instance to copy properties from.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |