|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.common.model.rss.RssFeed
public class RssFeed
Java class for "rss" element of RSS 2.0 Specification.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="channel" type="{}rssChannel"/> </sequence> <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
At the top level, a RSS document is a <rss> element, with a mandatory attribute called version, that specifies the version of RSS that the document conforms to. If it conforms to RSS 2.0 specification, the version attribute must be 2.0.
Subordinate to the <rss> element is a single <channel> element, which contains information about the channel (metadata) and its contents.
RssChannel.
Field Summary | |
---|---|
protected RssChannel |
channel
|
protected java.lang.String |
version
|
Constructor Summary | |
---|---|
RssFeed()
|
Method Summary | |
---|---|
RssChannel |
getChannel()
Gets the value of the channel property. |
java.lang.String |
getVersion()
Gets the value of the version property. |
void |
setChannel(RssChannel value)
Sets the value of the channel property. |
void |
setVersion(java.lang.String value)
Sets the value of the version property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RssChannel channel
protected java.lang.String version
Constructor Detail |
---|
public RssFeed()
Method Detail |
---|
public RssChannel getChannel()
RssChannel
public void setChannel(RssChannel value)
value
- allowed object is RssChannel
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |