| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.media.mediarss.MediaRating | ||
| ↳ | com.google.gdata.data.youtube.YouTubeMediaRating | ||
Adds an attribute yt:country to MediaRating.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ALL_COUNTRIES | Default value for the tag yt:country. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.media.mediarss.MediaRating
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| countries | Unmodifiable set of countries, never null. |
||||||||||
| countryState | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.media.mediarss.MediaRating
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears the attribute
country of any value. | |||||||||||
Gets the country set.
| |||||||||||
Describes the tag to an
ExtensionProfile. | |||||||||||
Checks whether a country set is set.
| |||||||||||
Explicitely sets the attribute
country to all. | |||||||||||
Defines the countries to which the rating applies.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.media.mediarss.MediaRating
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Default value for the tag yt:country.
Unmodifiable set of countries, never null.
Clears the attribute country of any value.
Gets the country set.
null
Describes the tag to an ExtensionProfile.
Checks whether a country set is set.
true if a country set is set, false if the rating
applies to all countries
Explicitely sets the attribute country to all.
Defines the countries to which the rating applies.
| countries | 2-letter country code set or null to
revert to the default value
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| attrsHelper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|