|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.module.mediarss.types.Category
public class Category
<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.
| Field Summary | |
|---|---|
static java.lang.String |
SCHEME_FLICKR_TAGS
Schem for FLICKR tags |
| Constructor Summary | |
|---|---|
Category(java.lang.String value)
Creates a new Category. |
|
Category(java.lang.String scheme,
java.lang.String label,
java.lang.String value)
Creates a new instance of Category |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLabel()
label is the human readable label that can be displayed in end user applications. |
java.lang.String |
getScheme()
scheme is the URI that identifies the categorization scheme. |
java.lang.String |
getValue()
value of the category |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SCHEME_FLICKR_TAGS
| Constructor Detail |
|---|
public Category(java.lang.String scheme,
java.lang.String label,
java.lang.String value)
scheme - scheme usedlabel - label for the categoryvalue - value of the category itempublic Category(java.lang.String value)
value - value of the category.| Method Detail |
|---|
public java.lang.String getLabel()
public java.lang.String getScheme()
public java.lang.String getValue()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||