public class Category extends Object implements Serializable
The <category> element.
From the RSS 2.0 specification...
FOR channels: Specify one or more categories that the channel belongs to. Follows the same rules as the <item>-level category element. More info.
FOR items: Includes the item in one or more categories. More.
<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.
public String getCategory()
Copyright © 2014. All rights reserved.