|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.syndication.feed.WireFeed
public abstract class WireFeed
Parent class of the RSS (Channel) and Atom (Feed) feed beans.
NOTE: We don't like this class at this package level but the alternative would have been a proliferation of packages (one more level to hold atom and rss package with this class just in that package).
The format of the 'type' property must be [FEEDNAME]_[FEEDVERSION] with the FEEDNAME in lower case, for example: rss_0.9, rss_0.93, atom_0.3
| コンストラクタの概要 | |
|---|---|
protected |
WireFeed()
Default constructor, for bean cloning purposes only. |
protected |
WireFeed(java.lang.String type)
Creates a feed for a given type. |
| メソッドの概要 | |
|---|---|
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.lang.String |
getEncoding()
Returns the charset encoding of a the feed. |
java.lang.String |
getFeedType()
Returns the type of the feed. |
java.lang.Object |
getForeignMarkup()
Returns foreign markup found at channel level. |
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the channel modules. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setEncoding(java.lang.String encoding)
Sets the charset encoding of a the feed. |
void |
setFeedType(java.lang.String feedType)
Sets the feedType of a the feed. |
void |
setForeignMarkup(java.lang.Object foreignMarkup)
Sets foreign markup found at channel level. |
void |
setModules(java.util.List modules)
Sets the channel modules. |
java.lang.String |
toString()
Returns the String representation for the object. |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
protected WireFeed()
protected WireFeed(java.lang.String type)
type - of the feed to create.| メソッドの詳細 |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.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 void setFeedType(java.lang.String feedType)
feedType - the feedType of the feed.public java.lang.String getFeedType()
public java.lang.String getEncoding()
This property is not set by feed parsers. But it is used by feed generators to set the encoding in the XML prolog.
public void setEncoding(java.lang.String encoding)
This property is not set by feed parsers. But it is used by feed generators to set the encoding in the XML prolog.
encoding - the charset encoding of the feed.public java.util.List getModules()
Extendable 内の getModulespublic void setModules(java.util.List modules)
Extendable 内の setModulesmodules - the list of ModuleImpl elements with the channel modules to set,
an empty list or null if none.public Module getModule(java.lang.String uri)
Extendable 内の getModuleuri - the URI of the ModuleImpl.
public java.lang.Object getForeignMarkup()
public void setForeignMarkup(java.lang.Object foreignMarkup)
foreignMarkup - Opaque object to discourage use
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||