com.sun.syndication.feed.atom
public class Entry extends Object implements Cloneable, Serializable, Extendable
Field Summary | |
---|---|
List | _alternateLinks |
List | _authors |
List | _categories |
List | _contents |
List | _contributors |
Date | _created |
List | _foreignMarkup |
String | _id |
List | _modules |
ObjectBean | _objBean |
List | _otherLinks |
Date | _published |
String | _rights |
Feed | _source |
Content | _summary |
Content | _title |
Date | _updated |
String | _xmlBase |
Constructor Summary | |
---|---|
Entry()
Default constructor. |
Method Summary | |
---|---|
Object | clone()
Creates a deep 'bean' clone of the object.
|
boolean | equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
|
List | getAlternateLinks()
Returns the entry alternate links.
|
List | getAuthors()
Returns the entry author.
|
List | getCategories()
Returns the categories
|
List | getContents()
Returns the entry contents.
|
List | getContributors()
Returns the entry contributors.
|
Date | getCreated()
Returns the entry created date (Atom 0.3 only)
|
Object | getForeignMarkup()
Returns foreign markup found at entry level.
|
String | getId()
Returns the entry ID.
|
Date | getIssued()
Returns the entry issued date (Atom 0.3, maps to getPublished() ).
|
Date | getModified()
Returns the entry modified date (Atom 0.3, maps to getUpdated() ).
|
Module | getModule(String uri)
Returns the module identified by a given URI.
|
List | getModules()
Returns the entry modules.
|
List | getOtherLinks()
Returns the entry non-alternate links.
|
Date | getPublished()
Returns the published
|
String | getRights()
Returns the rights
|
Feed | getSource()
Returns the source
|
Content | getSummary()
Returns the entry summary.
|
String | getTitle()
Returns the entry title.
|
Content | getTitleEx()
Returns the entry title as a text construct.
|
Date | getUpdated()
Returns the updated
|
String | getXmlBase()
Returns the xmlBase
|
int | hashCode()
Returns a hashcode value for the object.
|
void | setAlternateLinks(List alternateLinks)
Sets the entry alternate links.
|
void | setAuthors(List authors)
Sets the author of the entry.
|
void | setCategories(List categories)
Set the categories
|
void | setContents(List contents)
Sets the entry contents.
|
void | setContributors(List contributors)
Sets the entry contributors.
|
void | setCreated(Date created)
Sets the entry created date (Atom 0.3 only)
|
void | setForeignMarkup(Object foreignMarkup)
Sets foreign markup found at entry level.
|
void | setId(String id)
Sets the entry ID.
|
void | setIssued(Date issued)
Sets the entry issued date (Atom 0.3, maps to setPublished() ).
|
void | setModified(Date modified)
Sets the entry modified date (Atom 0.3, maps to setUpdated() ).
|
void | setModules(List modules)
Sets the entry modules.
|
void | setOtherLinks(List otherLinks)
Sets the entry non-alternate links.
|
void | setPublished(Date published)
Set the published
|
void | setRights(String rights)
Set the rights
|
void | setSource(Feed source)
Set the source
|
void | setSummary(Content summary)
Sets the entry summary.
|
void | setTitle(String title)
Sets the entry title.
|
void | setTitleEx(Content title)
Sets the entry title as a text construct.
|
void | setUpdated(Date updated)
Set the updated
|
void | setXmlBase(String xmlBase)
Set the xmlBase
|
String | toString()
Returns the String representation for the object.
|
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.
Returns: a list of Link elements with the entry alternate links, an empty list if none.
Returns: the entry author, null if none.
Returns: Returns the categories.
Since: Atom 1.0
Returns: a list of Content elements with the entry contents, an empty list if none.
Returns: a list of Person elements with the entry contributors, an empty list if none.
Returns: the entry created date, null if none.
Returns: list of Opaque object to discourage use
Returns: the entry ID, null if none.
getPublished()
).
Returns: the entry issued date, null if none.
getUpdated()
).
Returns: the entry modified date, null if none.
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 emtpy list if none.
Returns: the list of Link elements with the entry non-alternate links to set, an empty list if none.
Returns: Returns the published.
Since: Atom 1.0
Returns: Returns the rights.
Since: Atom 1.0
Returns: Returns the source.
Returns: the entry summary, null if none.
Returns: the entry title, null if none.
Returns: the entry title, null if none.
Returns: Returns the updated.
Since: Atom 1.0
Returns: Returns the xmlBase.
Since: Atom 1.0
It follows the contract defined by the Object hashCode() method.
Returns: the hashcode of the bean object.
Parameters: alternateLinks the list of Link elements with the entry alternate links to set, an empty list or null if none.
Parameters: author the author of the entry, null if none.
Parameters: categories The categories to set.
Since: Atom 1.0
Parameters: contents the list of Content elements with the entry contents to set, an empty list or null if none.
Parameters: contributors the list of Person elements with the entry contributors to set, an empty list or null if none.
Parameters: created the entry created date, null if none.
Parameters: foreignMarkup Opaque object to discourage use
Parameters: id the entry ID, null if none.
setPublished()
).
Parameters: issued the entry issued date, null if none.
setUpdated()
).
Parameters: modified the entry modified date, null if none.
Parameters: modules the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.
Parameters: otherLinks the list Link elements with the entry non-alternate links to set, an empty list or null if none.
Parameters: published The published to set.
Since: Atom 1.0
Parameters: rights The rights to set.
Since: Atom 1.0
Parameters: source The source to set.
Parameters: summary the entry summary, null if none.
Parameters: title the entry title, null if none.
Parameters: title the entry title, null if none.
Parameters: updated The updated to set.
Since: Atom 1.0
Parameters: xmlBase The xmlBase to set.
Since: Atom 1.0
Returns: String representation for the object.