|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.media.Category
public class Category
Includes the media content in one or more categories.
Allows a taxonomy to be set that gives an indication of the type of media content, and its particular contents.
Examples:
<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">ycantparkmobile</media:category>
Constructor Summary | |
---|---|
Category()
|
Method Summary | |
---|---|
String |
getLabel()
Returns the human readable label that can be displayed in end user applications. |
String |
getScheme()
Returns a string (URI) that identifies a categorization taxonomy. |
String |
getValue()
Returns a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. |
void |
setLabel(String label)
Initializes the human readable label that can be displayed in end user applications. |
void |
setScheme(String scheme)
Initializes a string (URI) that identifies a categorization taxonomy. |
void |
setValue(String value)
Initializes a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Category()
Method Detail |
---|
public String getValue()
null
if not yet initialized.setValue(java.lang.String)
public void setValue(String value)
value
- the category's value. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
public String getScheme()
null
.setScheme(java.lang.String)
public void setScheme(String scheme)
scheme
- the category's scheme. May be null
.getScheme()
public String getLabel()
null
.setLabel(java.lang.String)
public void setLabel(String label)
label
- a category label. May be null
.getLabel()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |