|
||||||||||
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.RssSource
public class RssSource
Java class for "source" element of RSS 2.0 Specification.
The following schema fragment specifies the expected content contained within this class.
<complexType name="rssSource"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
<source> is an optional sub-element of <item>.
Its value is the name of the RSS channel that the item came from, derived from its <title>. It has one required attribute, url, which links to the XMLization of the source.
<source url="http://www.tomalak.org/links2.xml">Tomalak's Realm</source>
The purpose of this element is to propagate credit for links, to publicize the sources of news items. It can be used in the Post command of an aggregator. It should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool.
Field Summary | |
---|---|
protected String |
content
|
protected String |
url
|
Constructor Summary | |
---|---|
RssSource()
|
Method Summary | |
---|---|
String |
getContent()
Gets the value of the content property. |
String |
getUrl()
Gets the value of the url property. |
void |
setContent(String value)
Sets the value of the content property. |
void |
setUrl(String value)
Sets the value of the url property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String content
protected String url
Constructor Detail |
---|
public RssSource()
Method Detail |
---|
public String getContent()
String
public void setContent(String value)
value
- allowed object is String
public String getUrl()
String
public void setUrl(String value)
value
- allowed object is String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |