com.sun.syndication.feed.synd
public class SyndEntryImpl extends Object implements Serializable, SyndEntry
Field Summary | |
---|---|
static Set | CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class.
|
static CopyFromHelper | COPY_FROM_HELPER |
static Set | IGNORE_PROPERTIES |
List | _authors |
List | _categories |
List | _contents |
List | _contributors |
SyndContent | _description |
List | _enclosures |
List | _foreignMarkup |
String | _link |
List | _links |
List | _modules |
ObjectBean | _objBean |
SyndContent | _title |
Date | _updatedDate |
String | _uri |
Constructor Summary | |
---|---|
protected | SyndEntryImpl(Class beanClass, Set convenienceProperties)
For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality
with extended interfaces.
|
SyndEntryImpl()
Default constructor. |
Method Summary | |
---|---|
Object | clone()
Creates a deep 'bean' clone of the object.
|
void | copyFrom(Object obj) |
boolean | equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
|
String | getAuthor()
Returns the entry author.
|
List | getAuthors() |
List | getCategories()
Returns the entry categories.
|
List | getContents()
Returns the entry contents.
|
List | getContributors() |
DCModule | getDCModule()
Returns the Dublin Core module of the feed. |
SyndContent | getDescription()
Returns the entry description.
|
List | getEnclosures()
Returns the entry enclosures.
|
Object | getForeignMarkup()
Returns foreign markup found at channel level.
|
Class | getInterface() |
String | getLink()
Returns the entry link.
|
List | getLinks()
Returns the links
|
Module | getModule(String uri)
Returns the module identified by a given URI.
|
List | getModules()
Returns the entry modules.
|
Date | getPublishedDate()
Returns the entry published date.
|
String | getTitle()
Returns the entry title.
|
SyndContent | getTitleEx()
Returns the entry title as a text construct.
|
Date | getUpdatedDate()
Returns the updatedDate
|
String | getUri()
Returns the entry URI.
|
int | hashCode()
Returns a hashcode value for the object.
|
void | setAuthor(String author)
Sets the entry author.
|
void | setAuthors(List authors) |
void | setCategories(List categories)
Sets the entry categories.
|
void | setContents(List contents)
Sets the entry contents.
|
void | setContributors(List contributors) |
void | setDescription(SyndContent description)
Sets the entry description.
|
void | setEnclosures(List enclosures)
Sets the entry enclosures.
|
void | setForeignMarkup(Object foreignMarkup)
Sets foreign markup found at channel level.
|
void | setLink(String link)
Sets the entry link.
|
void | setLinks(List links)
Set the links
|
void | setModules(List modules)
Sets the entry modules.
|
void | setPublishedDate(Date publishedDate)
Sets the entry published date.
|
void | setTitle(String title)
Sets the entry title.
|
void | setTitleEx(SyndContent title)
Sets the entry title as a text construct.
|
void | setUpdatedDate(Date updatedDate)
Set the updatedDate
|
void | setUri(String uri)
Sets the entry URI.
|
String | toString()
Returns the String representation for the object.
|
Convenience properties are mapped to Modules, for cloning the convenience properties can be ignored as the will be copied as part of the module cloning.
Parameters: beanClass convenienceProperties set containing the convenience properties of the SyndEntryImpl (the are ignored during cloning, check CloneableBean for details).
Returns: a clone of the object.
Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.
Parameters: other he reference object with which to compare.
Returns: true if 'this' object is equal to the 'other' object.
This method is a convenience method, it maps to the Dublin Core module creator.
Returns: the entry author, null if none.
Returns: a list of SyndCategoryImpl elements with the entry categories, an empty list if none.
Returns: a list of SyndContentImpl elements with the entry contents, an empty list if none.
Returns: the DC module, it's never null
Returns: the entry description, null if none.
Returns: a list of SyndEnclosure elements with the entry enclosures, an empty list if none.
Returns: list of JDOM nodes containing channel-level foreign markup, an empty list if none.
Returns: the entry link, null if none.
Returns: Returns the links.
Parameters: uri the URI of the ModuleImpl.
Returns: The module with the given URI, null if none.
Returns: a list of ModuleImpl elements with the entry modules, an empty list if none.
This method is a convenience method, it maps to the Dublin Core module date.
Returns: the entry published date, null if none.
Returns: the entry title, null if none.
Returns: the entry title, null if none.
Returns: Returns the updatedDate.
How the entry URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping.
The returned URI is a normalized URI as specified in RFC 2396bis.
Returns: the entry URI, null if none.
It follows the contract defined by the Object hashCode() method.
Returns: the hashcode of the bean object.
This method is a convenience method, it maps to the Dublin Core module creator.
Parameters: author the entry author to set, null if none.
This method is a convenience method, it maps to the Dublin Core module subjects.
Parameters: categories the list of SyndCategoryImpl elements with the entry categories to set, an empty list or null if none.
Parameters: contents the list of SyndContentImpl elements with the entry contents to set, an empty list or null if none.
Parameters: description the entry description to set, null if none.
Parameters: enclosures the list of SyndEnclosure elements with the entry enclosures to set, an empty list or null if none.
Parameters: foreignMarkup list of JDOM nodes containing channel-level foreign markup, an empty list if none.
Parameters: link the entry link to set, null if none.
Parameters: links The links to set.
Parameters: modules the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.
This method is a convenience method, it maps to the Dublin Core module date.
Parameters: publishedDate the entry published date to set, null if none.
Parameters: title the entry title to set, null if none.
Parameters: title the entry title to set, null if none.
Parameters: updatedDate The updatedDate to set.
How the entry URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping.
Parameters: uri the entry URI to set, null if none.
Returns: String representation for the object.