|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.syndication.feed.synd.SyndFeedImpl
public class SyndFeedImpl
Bean for all types of feeds.
It handles all RSS versions and Atom 0.3, it normalizes all info, it may lose information.
| フィールドの概要 | |
|---|---|
static java.util.Set |
CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class. |
| コンストラクタの概要 | |
|---|---|
|
SyndFeedImpl()
Default constructor. |
protected |
SyndFeedImpl(java.lang.Class beanClass,
java.util.Set convenienceProperties)
For implementations extending SyndFeedImpl to be able to use the ObjectBean functionality with extended interfaces. |
|
SyndFeedImpl(WireFeed feed)
Creates a SyndFeedImpl and populates all its properties out of the given RSS Channel or Atom Feed properties. |
| メソッドの概要 | |
|---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
WireFeed |
createWireFeed()
Creates a real feed containing the information of the SyndFeedImpl. |
WireFeed |
createWireFeed(java.lang.String feedType)
Creates a real feed containing the information of the SyndFeedImpl. |
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.String |
getAuthor()
Returns the feed author. |
java.util.List |
getAuthors()
Returns the feed authors. |
java.util.List |
getCategories()
Returns the feed categories. |
java.util.List |
getContributors()
Returns the feed author. |
java.lang.String |
getCopyright()
Returns the feed copyright. |
java.lang.String |
getDescription()
Returns the feed description. |
SyndContent |
getDescriptionEx()
Returns the feed description as a text construct. |
java.lang.String |
getEncoding()
Returns the charset encoding of a the feed. |
java.util.List |
getEntries()
Returns the feed entries. |
java.lang.String |
getFeedType()
Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed. |
java.lang.Object |
getForeignMarkup()
Returns foreign markup found at channel level. |
SyndImage |
getImage()
Returns the feed image. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
java.lang.String |
getLanguage()
Returns the feed language. |
java.lang.String |
getLink()
Returns the feed link. |
java.util.List |
getLinks()
Returns the links |
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the feed modules. |
java.util.Date |
getPublishedDate()
Returns the feed published date. |
java.util.List |
getSupportedFeedTypes()
Returns the real feed types the SyndFeedImpl supports when converting from and to. |
java.lang.String |
getTitle()
Returns the feed title. |
SyndContent |
getTitleEx()
Returns the feed title as a text construct. |
java.lang.String |
getUri()
Returns the feed URI. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setAuthor(java.lang.String author)
Sets the feed author. |
void |
setAuthors(java.util.List authors)
Sets the feed author. |
void |
setCategories(java.util.List categories)
Sets the feed categories. |
void |
setContributors(java.util.List contributors)
Sets the feed author. |
void |
setCopyright(java.lang.String copyright)
Sets the feed copyright. |
void |
setDescription(java.lang.String description)
Sets the feed description. |
void |
setDescriptionEx(SyndContent description)
Sets the feed description as a text construct. |
void |
setEncoding(java.lang.String encoding)
Sets the charset encoding of a the feed. |
void |
setEntries(java.util.List entries)
Sets the feed entries. |
void |
setFeedType(java.lang.String feedType)
Sets the wire feed type the feed will-have when coverted to a WireFeed. |
void |
setForeignMarkup(java.lang.Object foreignMarkup)
Sets foreign markup found at channel level. |
void |
setImage(SyndImage image)
Sets the feed image. |
void |
setLanguage(java.lang.String language)
Sets the feed language. |
void |
setLink(java.lang.String link)
Sets the feed link. |
void |
setLinks(java.util.List links)
Set the links |
void |
setModules(java.util.List modules)
Sets the feed modules. |
void |
setPublishedDate(java.util.Date publishedDate)
Sets the feed published date. |
void |
setTitle(java.lang.String title)
Sets the feed title. |
void |
setTitleEx(SyndContent title)
Sets the feed title as a text construct. |
void |
setUri(java.lang.String uri)
Sets the feed URI. |
java.lang.String |
toString()
Returns the String representation for the object. |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.util.Set CONVENIENCE_PROPERTIES
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.
| コンストラクタの詳細 |
|---|
protected SyndFeedImpl(java.lang.Class beanClass,
java.util.Set convenienceProperties)
beanClass - convenienceProperties - set containing the convenience properties of the SyndEntryImpl
(the are ignored during cloning, check CloneableBean for details).public SyndFeedImpl()
public SyndFeedImpl(WireFeed feed)
feed - the RSS Channel or the Atom Feed to populate the properties from.| メソッドの詳細 |
|---|
public java.util.List getSupportedFeedTypes()
SyndFeed 内の getSupportedFeedTypes
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
SyndFeed 内の clonejava.lang.Object 内の clonejava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
java.lang.Object 内の equalsother - he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
java.lang.Object 内の hashCodepublic java.lang.String toString()
java.lang.Object 内の toStringpublic WireFeed createWireFeed()
The feed type of the created WireFeed is taken from the SyndFeedImpl feedType property.
SyndFeed 内の createWireFeedpublic WireFeed createWireFeed(java.lang.String feedType)
SyndFeed 内の createWireFeedfeedType - the feed type for the WireFeed to be created.
public java.lang.String getFeedType()
SyndFeed 内の getFeedTypepublic void setFeedType(java.lang.String feedType)
SyndFeed 内の setFeedTypefeedType - the feed type to set, null if none.public java.lang.String getEncoding()
SyndFeed 内の getEncodingpublic void setEncoding(java.lang.String encoding)
SyndFeed 内の setEncodingencoding - the charset encoding of the feed.public java.lang.String getUri()
How the feed 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.
Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.
SyndFeed 内の getUripublic void setUri(java.lang.String uri)
How the feed 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.
Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.
SyndFeed 内の setUriuri - the feed URI to set, null if none.public java.lang.String getTitle()
SyndFeed 内の getTitlepublic void setTitle(java.lang.String title)
SyndFeed 内の setTitletitle - the feed title to set, null if none.public SyndContent getTitleEx()
SyndFeed 内の getTitleExpublic void setTitleEx(SyndContent title)
SyndFeed 内の setTitleExtitle - the feed title to set, null if none.public java.lang.String getLink()
Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.
SyndFeed 内の getLinkpublic void setLink(java.lang.String link)
Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference.
SyndFeed 内の setLinklink - the feed link to set, null if none.public java.lang.String getDescription()
SyndFeed 内の getDescriptionpublic void setDescription(java.lang.String description)
SyndFeed 内の setDescriptiondescription - the feed description to set, null if none.public SyndContent getDescriptionEx()
SyndFeed 内の getDescriptionExpublic void setDescriptionEx(SyndContent description)
SyndFeed 内の setDescriptionExdescription - the feed description to set, null if none.public java.util.Date getPublishedDate()
This method is a convenience method, it maps to the Dublin Core module date.
SyndFeed 内の getPublishedDatepublic void setPublishedDate(java.util.Date publishedDate)
This method is a convenience method, it maps to the Dublin Core module date.
SyndFeed 内の setPublishedDatepublishedDate - the feed published date to set, null if none.public java.lang.String getCopyright()
This method is a convenience method, it maps to the Dublin Core module rights.
SyndFeed 内の getCopyrightpublic void setCopyright(java.lang.String copyright)
This method is a convenience method, it maps to the Dublin Core module rights.
SyndFeed 内の setCopyrightcopyright - the feed copyright to set, null if none.public SyndImage getImage()
SyndFeed 内の getImagepublic void setImage(SyndImage image)
SyndFeed 内の setImageimage - the feed image to set, null if none.public java.util.List getCategories()
This method is a convenience method, it maps to the Dublin Core module subjects.
SyndFeed 内の getCategoriespublic void setCategories(java.util.List categories)
This method is a convenience method, it maps to the Dublin Core module subjects.
SyndFeed 内の setCategoriescategories - the list of SyndCategoryImpl elements with the feed categories to set,
an empty list or null if none.public java.util.List getEntries()
SyndFeed 内の getEntriespublic void setEntries(java.util.List entries)
SyndFeed 内の setEntriesentries - the list of SyndEntryImpl elements with the feed entries to set,
an empty list or null if none.public java.lang.String getLanguage()
This method is a convenience method, it maps to the Dublin Core module language.
SyndFeed 内の getLanguagepublic void setLanguage(java.lang.String language)
This method is a convenience method, it maps to the Dublin Core module language.
SyndFeed 内の setLanguagelanguage - the feed language to set, null if none.public java.util.List getModules()
Extendable 内の getModulesSyndFeed 内の getModulespublic void setModules(java.util.List modules)
Extendable 内の setModulesSyndFeed 内の setModulesmodules - the list of ModuleImpl elements with the feed modules to set,
an empty list or null if none.public Module getModule(java.lang.String uri)
Extendable 内の getModuleSyndFeed 内の getModuleuri - the URI of the ModuleImpl.
public java.lang.Class getInterface()
CopyFrom の記述: This is useful when dealing with properties that may have multiple implementations. For example, Module.
CopyFrom 内の getInterfacepublic 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 SyndFeed bean implementation to a Hibernate ready implementation.
CopyFrom 内の copyFromobj - the instance to copy properties from.public java.util.List getLinks()
SyndFeed 内の getLinkspublic void setLinks(java.util.List links)
SyndFeed 内の setLinkslinks - The links to set.public java.util.List getAuthors()
SyndFeed の記述: For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.
SyndFeed 内の getAuthorspublic void setAuthors(java.util.List authors)
SyndFeed の記述: For Atom feeds, this sets the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.
SyndFeed 内の setAuthorspublic java.lang.String getAuthor()
This method is a convenience method, it maps to the Dublin Core module creator.
SyndFeed 内の getAuthorpublic void setAuthor(java.lang.String author)
This method is a convenience method, it maps to the Dublin Core module creator.
SyndFeed 内の setAuthorauthor - the feed author to set, null if none.public java.util.List getContributors()
SyndFeed の記述: For Atom feeds, this returns the contributors as a list of SyndPerson objects
SyndFeed 内の getContributorspublic void setContributors(java.util.List contributors)
SyndFeed の記述: Returns contributors as a list of SyndPerson objects.
SyndFeed 内の setContributorspublic java.lang.Object getForeignMarkup()
SyndFeed 内の getForeignMarkuppublic void setForeignMarkup(java.lang.Object foreignMarkup)
SyndFeed 内の setForeignMarkupforeignMarkup - Opaque object to discourage use
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||