| java.lang.Object | ||
| ↳ | com.google.gdata.data.AbstractExtension | |
| ↳ | com.google.gdata.data.youtube.YtCommentRating | |
Object representation for the yt:commentRating tag. As YouTube does only sum up the votes (-1, 1). Therefore, gd:rating can not be used (min, max range would be required).
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| total | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty rating tag.
| |||||||||||
Creates a tag and sets the rating.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the sum of all ratings (-1, 1).
| |||||||||||
Sets the sum of all ratings (-1, 1).
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Creates an empty rating tag.
Creates a tag and sets the rating.
| rating |
|---|
Gets the sum of all ratings (-1, 1).
Sets the sum of all ratings (-1, 1).
| total |
|---|
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.
| helper | 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 |
|---|