Class Category
- java.lang.Object
-
- com.rometools.modules.mediarss.types.Category
-
- All Implemented Interfaces:
Serializable
public class Category extends Object implements Serializable
<media:category>Allows a taxonomy to be set that gives an indication of the type of media content, and its particular contents. It has 2 optional attributes.
<media:category scheme="http://search.yahoo.com/mrss/category_ schema">music/artist/album/song</media:category> <media:category scheme="http://dmoz.org" label="Ace Ventura - Pet Detective">Arts/Movies/Titles/A/Ace_Ventura_Series/Ace_Ventura_ -_Pet_Detective</media:category> <media:category scheme="urn:flickr:tags">ycantpark mobile</media:category>scheme is the URI that identifies the categorization scheme. It is an optional attribute. If this attribute is not included, the default scheme is 'http://search.yahoo.com/mrss/category_schema'.
label is the human readable label that can be displayed in end user applications. It is an optional attribute.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCHEME_FLICKR_TAGSSchem for FLICKR tags
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetLabel()label is the human readable label that can be displayed in end user applications.StringgetScheme()scheme is the URI that identifies the categorization scheme.StringgetValue()value of the categoryinthashCode()StringtoString()
-
-
-
Field Detail
-
SCHEME_FLICKR_TAGS
public static final String SCHEME_FLICKR_TAGS
Schem for FLICKR tags- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
public String getLabel()
label is the human readable label that can be displayed in end user applications. It is an optional attribute.- Returns:
- label is the human readable label that can be displayed in end user applications. It is an optional attribute.
-
getScheme
public String getScheme()
scheme is the URI that identifies the categorization scheme. It is an optional attribute. If this attribute is not included, the default scheme is 'http://search.yahoo.com/mrss/category_schema'.- Returns:
- scheme is the URI that identifies the categorization scheme. It is an optional attribute. If this attribute is not included, the default scheme is 'http://search.yahoo.com/mrss/category_schema'.
-
getValue
public String getValue()
value of the category- Returns:
- value of the category
-
-