|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.RSS
public class RSS
A RSS document. RSS is a Web content syndication format. Its name is an acronym for Really Simple Syndication. See the RSS 2.0 specification. In RSS 0.91 various elements are restricted to 500 or 100 characters. There are no string-length or XML-level limits in RSS 0.92. Processors may impose their own limits, and generators may have preferences that say no more than a certain number of items can appear in a channel, or that strings are limited in length.
Field Summary | |
---|---|
static String |
VERSION_0_91
The RSS version 0.91 identifier. |
static String |
VERSION_0_92
The RSS version 0.92 identifier. |
static String |
VERSION_2_0
The RSS version 2.0 identifier. |
Constructor Summary | |
---|---|
RSS()
Builds a new and empty RSS feed. |
Method Summary | |
---|---|
Channel |
getChannel()
Returns the channel assigned to this RSS document. |
String |
getVersion()
Returns the version of RSS that this document conforms to. |
void |
setChannel(Channel channel)
Assigns the specified channel to this RSS document. |
void |
setVersion(String version)
Initializes the version of RSS that this document conforms to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VERSION_2_0
public static final String VERSION_0_92
public static final String VERSION_0_91
Constructor Detail |
---|
public RSS()
Method Detail |
---|
public String getVersion()
VERSION_2_0
.
null
.setVersion(java.lang.String)
public void setVersion(String version)
version
- a version number. SHall not be null
.
NullPointerException
- if version
is null
.getVersion()
,
VERSION_0_91
,
VERSION_0_92
,
VERSION_2_0
public Channel getChannel()
null
.setChannel(christophedelory.rss.Channel)
public void setChannel(Channel channel)
channel
- a RSS channel. Shall not be null
.
NullPointerException
- if channel
is null
.getChannel()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |