|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.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
Constructor Summary | |
protected |
WireFeed(java.lang.Class beanClass)
Default constructor, for bean cloning purposes only. |
protected |
WireFeed(java.lang.Class beanClass,
java.lang.String type)
Creates a feed for a given type. |
Method Summary | |
java.lang.String |
getEncoding()
Returns the charset encoding of a the feed. |
java.lang.String |
getFeedType()
Returns the type of the feed. |
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. |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected WireFeed(java.lang.Class beanClass)
beanClass
- the class/interface to be used for property scanning.protected WireFeed(java.lang.Class beanClass, java.lang.String type)
beanClass
- the class/interface to be used for property scanning.type
- of the feed to create.Method Detail |
public void setFeedType(java.lang.String feedType)
feedType
- the feedType of the feed.public java.lang.String getFeedType()
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding
- the charset encoding of the feed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |