|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.rss.media.Rating
public class Rating
This allows the permissible audience to be declared.
If this element is not included, it assumes that no restrictions are necessary.
Examples:
<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 Summary | |
|---|---|
Rating()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rating()
| Method Detail |
|---|
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()
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||