|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.atom.Entry
public class Entry
Bean for entry elements of Atom feeds.
Constructor Summary | |
---|---|
Entry()
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
java.util.List |
getAlternateLinks()
Returns the entry alternate links. |
java.util.List |
getAuthors()
Returns the entry author. |
java.util.List |
getCategories()
Returns the categories |
java.util.List |
getContents()
Returns the entry contents. |
java.util.List |
getContributors()
Returns the entry contributors. |
java.util.Date |
getCreated()
Returns the entry created date (Atom 0.3 only) |
java.lang.Object |
getForeignMarkup()
Returns foreign markup found at entry level. |
java.lang.String |
getId()
Returns the entry ID. |
java.util.Date |
getIssued()
Returns the entry issued date (Atom 0.3, maps to getPublished() ). |
java.util.Date |
getModified()
Returns the entry modified date (Atom 0.3, maps to getUpdated() ). |
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the entry modules. |
java.util.List |
getOtherLinks()
Returns the entry non-alternate links. |
java.util.Date |
getPublished()
Returns the published |
java.lang.String |
getRights()
Returns the rights |
Feed |
getSource()
Returns the source |
Content |
getSummary()
Returns the entry summary. |
java.lang.String |
getTitle()
Returns the entry title. |
Content |
getTitleEx()
Returns the entry title as a text construct. |
java.util.Date |
getUpdated()
Returns the updated |
java.lang.String |
getXmlBase()
Returns the xmlBase |
int |
hashCode()
Returns a hashcode value for the object. |
boolean |
isMediaEntry()
Returns true if entry is a media entry, i.e. |
void |
setAlternateLinks(java.util.List alternateLinks)
Sets the entry alternate links. |
void |
setAuthors(java.util.List authors)
Sets the author of the entry. |
void |
setCategories(java.util.List categories)
Set the categories |
void |
setContents(java.util.List contents)
Sets the entry contents. |
void |
setContributors(java.util.List contributors)
Sets the entry contributors. |
void |
setCreated(java.util.Date created)
Sets the entry created date (Atom 0.3 only) |
void |
setForeignMarkup(java.lang.Object foreignMarkup)
Sets foreign markup found at entry level. |
void |
setId(java.lang.String id)
Sets the entry ID. |
void |
setIssued(java.util.Date issued)
Sets the entry issued date (Atom 0.3, maps to setPublished(java.util.Date) ). |
void |
setModified(java.util.Date modified)
Sets the entry modified date (Atom 0.3, maps to setUpdated(java.util.Date) ). |
void |
setModules(java.util.List modules)
Sets the entry modules. |
void |
setOtherLinks(java.util.List otherLinks)
Sets the entry non-alternate links. |
void |
setPublished(java.util.Date published)
Set the published |
void |
setRights(java.lang.String rights)
Set the rights |
void |
setSource(Feed source)
Set the source |
void |
setSummary(Content summary)
Sets the entry summary. |
void |
setTitle(java.lang.String title)
Sets the entry title. |
void |
setTitleEx(Content title)
Sets the entry title as a text construct. |
void |
setUpdated(java.util.Date updated)
Set the updated |
void |
setXmlBase(java.lang.String xmlBase)
Set the xmlBase |
java.lang.String |
toString()
Returns the String representation for the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Entry()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the entry title, null if none.public Content getTitleEx()
public void setTitleEx(Content title)
title
- the entry title, null if none.public java.util.List getAlternateLinks()
public void setAlternateLinks(java.util.List alternateLinks)
alternateLinks
- the list of Link elements with the entry alternate links to set,
an empty list or null if none.public java.util.List getOtherLinks()
public void setOtherLinks(java.util.List otherLinks)
otherLinks
- the list Link elements with the entry non-alternate links to set,
an empty list or null if none.public java.util.List getAuthors()
public void setAuthors(java.util.List authors)
authors
- the author of the entry, null if none.public java.util.List getContributors()
public void setContributors(java.util.List contributors)
contributors
- the list of Person elements with the entry contributors to set,
an empty list or null if none.public java.lang.String getId()
public void setId(java.lang.String id)
id
- the entry ID, null if none.public java.util.Date getModified()
getUpdated()
).
public void setModified(java.util.Date modified)
setUpdated(java.util.Date)
).
modified
- the entry modified date, null if none.public java.util.Date getIssued()
getPublished()
).
public void setIssued(java.util.Date issued)
setPublished(java.util.Date)
).
issued
- the entry issued date, null if none.public java.util.Date getCreated()
public void setCreated(java.util.Date created)
created
- the entry created date, null if none.public Content getSummary()
public void setSummary(Content summary)
summary
- the entry summary, null if none.public java.util.List getContents()
public void setContents(java.util.List contents)
contents
- the list of Content elements with the entry contents to set,
an empty list or null if none.public java.util.List getModules()
getModules
in interface Extendable
public void setModules(java.util.List modules)
setModules
in interface Extendable
modules
- the list of ModuleImpl elements with the entry modules to set,
an empty list or null if none.public Module getModule(java.lang.String uri)
getModule
in interface Extendable
uri
- the URI of the ModuleImpl.
public java.util.Date getPublished()
public void setPublished(java.util.Date published)
published
- The published to set.public java.lang.String getRights()
public void setRights(java.lang.String rights)
rights
- The rights to set.public Feed getSource()
public void setSource(Feed source)
source
- The source to set.public java.util.Date getUpdated()
public void setUpdated(java.util.Date updated)
updated
- The updated to set.public java.util.List getCategories()
public void setCategories(java.util.List categories)
categories
- The categories to set.public java.lang.String getXmlBase()
public void setXmlBase(java.lang.String xmlBase)
xmlBase
- The xmlBase to set.public java.lang.Object getForeignMarkup()
public void setForeignMarkup(java.lang.Object foreignMarkup)
foreignMarkup
- Opaque object to discourage usepublic boolean isMediaEntry()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |