Class Category
Categories provide a way to classify or tag feeds and entries, enabling better organization and discovery of content. Each category has a term (required) and optionally a scheme (for namespacing) and a human-readable label.
Categories are commonly used for:
- Tagging entries by topic (e.g., "technology", "sports")
- Classifying content by category schemes (e.g., subject taxonomies)
- Enabling feed filtering and organization
Schema
atomCategory = element atom:category { atomCommonAttributes, attribute term { text }, attribute scheme { atomUri }?, attribute label { text }?, undefinedContent }
Example:
   
Specification:
 Represents an 
See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
CategoryNormal constructor.- Parameters:
- term- The category term.
 
- 
Categorypublic Category()Bean constructor.
 
- 
- 
Method Details- 
getTermBean property getter:term .The category term. - Returns:
- The property value, or null if it is not set.
 
- 
setTermBean property setter:term .The category term. - Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getSchemeBean property getter:scheme .The category scheme. - Returns:
- The property value, or null if it is not set.
 
- 
setSchemeBean property setter:scheme .The category scheme. The value can be of any of the following types: URI,URL,String. Strings must be valid URIs.- Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getLabelBean property getter:label .The category label. - Returns:
- The property value, or null if it is not set.
 
- 
setLabelBean property setter:scheme .The category label. - Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object
 
- 
setBaseDescription copied from class:Common
- 
setLangDescription copied from class:CommonBean property setter:lang .Sets the natural language of the element's content (xml:lang attribute). Example:Text title =new Text("text" ) .setText("Mon Blog" ) .setLang("fr" );
 
-