com.sun.syndication.feed.atom
クラス Entry

java.lang.Object
  上位を拡張 com.sun.syndication.feed.atom.Entry
すべての実装されたインタフェース:
Extendable, java.io.Serializable, java.lang.Cloneable

public class Entry
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, Extendable

Bean for entry elements of Atom feeds.

関連項目:
直列化された形式

コンストラクタの概要
Entry()
          Default constructor.
 
メソッドの概要
 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. has rel="edit-media".
 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()).
 void setModified(java.util.Date modified)
          Sets the entry modified date (Atom 0.3, maps to setUpdated()).
 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.
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Entry

public Entry()
Default constructor. All properties are set to null.

メソッドの詳細

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
a clone of the object.
例外:
java.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
other - he reference object with which to compare.
戻り値:
true if 'this' object is equal to the 'other' object.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

オーバーライド:
クラス java.lang.Object 内の hashCode
戻り値:
the hashcode of the bean object.

toString

public java.lang.String toString()
Returns the String representation for the object.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
String representation for the object.

getTitle

public java.lang.String getTitle()
Returns the entry title.

戻り値:
the entry title, null if none.

setTitle

public void setTitle(java.lang.String title)
Sets the entry title.

パラメータ:
title - the entry title, null if none.

getTitleEx

public Content getTitleEx()
Returns the entry title as a text construct.

戻り値:
the entry title, null if none.

setTitleEx

public void setTitleEx(Content title)
Sets the entry title as a text construct.

パラメータ:
title - the entry title, null if none.

getAlternateLinks

public java.util.List getAlternateLinks()
Returns the entry alternate links.

戻り値:
a list of Link elements with the entry alternate links, an empty list if none.

setAlternateLinks

public void setAlternateLinks(java.util.List alternateLinks)
Sets the entry alternate links.

パラメータ:
alternateLinks - the list of Link elements with the entry alternate links to set, an empty list or null if none.

getOtherLinks

public java.util.List getOtherLinks()
Returns the entry non-alternate links.

戻り値:
the list of Link elements with the entry non-alternate links to set, an empty list if none.

setOtherLinks

public void setOtherLinks(java.util.List otherLinks)
Sets the entry non-alternate links.

パラメータ:
otherLinks - the list Link elements with the entry non-alternate links to set, an empty list or null if none.

getAuthors

public java.util.List getAuthors()
Returns the entry author.

戻り値:
the entry author, null if none.

setAuthors

public void setAuthors(java.util.List authors)
Sets the author of the entry.

パラメータ:
author - the author of the entry, null if none.

getContributors

public java.util.List getContributors()
Returns the entry contributors.

戻り値:
a list of Person elements with the entry contributors, an empty list if none.

setContributors

public void setContributors(java.util.List contributors)
Sets the entry contributors.

パラメータ:
contributors - the list of Person elements with the entry contributors to set, an empty list or null if none.

getId

public java.lang.String getId()
Returns the entry ID.

戻り値:
the entry ID, null if none.

setId

public void setId(java.lang.String id)
Sets the entry ID.

パラメータ:
id - the entry ID, null if none.

getModified

public java.util.Date getModified()
Returns the entry modified date (Atom 0.3, maps to getUpdated()).

戻り値:
the entry modified date, null if none.

setModified

public void setModified(java.util.Date modified)
Sets the entry modified date (Atom 0.3, maps to setUpdated()).

パラメータ:
modified - the entry modified date, null if none.

getIssued

public java.util.Date getIssued()
Returns the entry issued date (Atom 0.3, maps to getPublished()).

戻り値:
the entry issued date, null if none.

setIssued

public void setIssued(java.util.Date issued)
Sets the entry issued date (Atom 0.3, maps to setPublished()).

パラメータ:
issued - the entry issued date, null if none.

getCreated

public java.util.Date getCreated()
Returns the entry created date (Atom 0.3 only)

戻り値:
the entry created date, null if none.

setCreated

public void setCreated(java.util.Date created)
Sets the entry created date (Atom 0.3 only)

パラメータ:
created - the entry created date, null if none.

getSummary

public Content getSummary()
Returns the entry summary.

戻り値:
the entry summary, null if none.

setSummary

public void setSummary(Content summary)
Sets the entry summary.

パラメータ:
summary - the entry summary, null if none.

getContents

public java.util.List getContents()
Returns the entry contents.

戻り値:
a list of Content elements with the entry contents, an empty list if none.

setContents

public void setContents(java.util.List contents)
Sets the entry contents.

パラメータ:
contents - the list of Content elements with the entry contents to set, an empty list or null if none.

getModules

public java.util.List getModules()
Returns the entry modules.

定義:
インタフェース Extendable 内の getModules
戻り値:
a list of ModuleImpl elements with the entry modules, an emtpy list if none.

setModules

public void setModules(java.util.List modules)
Sets the entry modules.

定義:
インタフェース Extendable 内の setModules
パラメータ:
modules - the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.

getModule

public Module getModule(java.lang.String uri)
Returns the module identified by a given URI.

定義:
インタフェース Extendable 内の getModule
パラメータ:
uri - the URI of the ModuleImpl.
戻り値:
The module with the given URI, null if none.

getPublished

public java.util.Date getPublished()
Returns the published

戻り値:
Returns the published.
導入されたバージョン:
Atom 1.0

setPublished

public void setPublished(java.util.Date published)
Set the published

パラメータ:
published - The published to set.
導入されたバージョン:
Atom 1.0

getRights

public java.lang.String getRights()
Returns the rights

戻り値:
Returns the rights.
導入されたバージョン:
Atom 1.0

setRights

public void setRights(java.lang.String rights)
Set the rights

パラメータ:
rights - The rights to set.
導入されたバージョン:
Atom 1.0

getSource

public Feed getSource()
Returns the source

戻り値:
Returns the source.

setSource

public void setSource(Feed source)
Set the source

パラメータ:
source - The source to set.

getUpdated

public java.util.Date getUpdated()
Returns the updated

戻り値:
Returns the updated.
導入されたバージョン:
Atom 1.0

setUpdated

public void setUpdated(java.util.Date updated)
Set the updated

パラメータ:
updated - The updated to set.
導入されたバージョン:
Atom 1.0

getCategories

public java.util.List getCategories()
Returns the categories

戻り値:
Returns the categories.
導入されたバージョン:
Atom 1.0

setCategories

public void setCategories(java.util.List categories)
Set the categories

パラメータ:
categories - The categories to set.
導入されたバージョン:
Atom 1.0

getXmlBase

public java.lang.String getXmlBase()
Returns the xmlBase

戻り値:
Returns the xmlBase.
導入されたバージョン:
Atom 1.0

setXmlBase

public void setXmlBase(java.lang.String xmlBase)
Set the xmlBase

パラメータ:
xmlBase - The xmlBase to set.
導入されたバージョン:
Atom 1.0

getForeignMarkup

public java.lang.Object getForeignMarkup()
Returns foreign markup found at entry level.

戻り値:
list of Opaque object to discourage use

setForeignMarkup

public void setForeignMarkup(java.lang.Object foreignMarkup)
Sets foreign markup found at entry level.

パラメータ:
foreignMarkup - Opaque object to discourage use

isMediaEntry

public boolean isMediaEntry()
Returns true if entry is a media entry, i.e. has rel="edit-media".