|
|||||||||||
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.RssCategory
public class RssCategory
Java class for "category" element of RSS 2.0 Specification.
The following schema fragment specifies the expected content contained within this class.
<complexType name="rssCategory"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="domain" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
<category> is an optional sub-element of <item>.
It has one optional attribute, domain, a string that identifies a categorization taxonomy.
The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories. Two examples are provided below:
<category>Grateful Dead</category>
<category domain="http://www.fool.com/cusips">MSFT</category>
You may include as many category elements as you need to, for different domains, and to have an item cross-referenced in different parts of the same domain.
Field Summary | |
---|---|
protected java.lang.String |
content
|
protected java.lang.String |
domain
|
Constructor Summary | |
---|---|
RssCategory()
|
Method Summary | |
---|---|
java.lang.String |
getContent()
Gets the value of the content property. |
java.lang.String |
getDomain()
Gets the value of the domain property. |
void |
setContent(java.lang.String value)
Sets the value of the content property. |
void |
setDomain(java.lang.String value)
Sets the value of the domain property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String content
protected java.lang.String domain
Constructor Detail |
---|
public RssCategory()
Method Detail |
---|
public java.lang.String getContent()
String
public void setContent(java.lang.String value)
value
- allowed object is String
public java.lang.String getDomain()
String
public void setDomain(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 |