public class Rating extends Object
<media:rating scheme="urn:simple">adult</media:rating> <media:rating scheme="urn:icra">r (cz 1 lz 1 nz 1 oz 1 vz 1)</media:rating> <media:rating scheme="urn:mpaa">pg</media:rating> <media:rating scheme="urn:v-chip">tv-y7-fv</media:rating>
| Constructor and Description |
|---|
Rating() |
| Modifier and Type | Method and Description |
|---|---|
String |
getScheme()
Returns the URI that identifies the rating scheme.
|
String |
getValue()
Returns the rating value itself.
|
void |
setScheme(String scheme)
Initializes the URI that identifies the rating scheme.
|
void |
setValue(String value)
Initializes the rating value itself.
|
public String getValue()
null if not yet initialized.setValue(java.lang.String)public void setValue(String value)
value - the rating'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 rating's scheme. May be null.getScheme()Copyright © 2008–2017. All rights reserved.