public class Category extends Object
<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 and Description |
|---|
Category() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()Copyright © 2008–2017. All rights reserved.