| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.extensions.Rating | ||
GData schema extension describing an object's rating.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Rating.Rel | Rating type. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| average | Average ratings, output with a fixed a 2 digit precision. | ||||||||||
| max | Maximum rating value on rating scale (optional). | ||||||||||
| min | Minimum rating value on rating scale (optional). | ||||||||||
| numRaters | Number of ratings that was taken into account (for average ratings). | ||||||||||
| rating | Rating value (required). | ||||||||||
| rel | Rating type. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an empty
Rating. | |||||||||||
Constructs a
Rating class with a specified rating. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates an XML representation for the extension.
| |||||||||||
Returns the suggested extension description and is repeatable.
| |||||||||||
Returns the suggested extension description with configurable
repeatability.
| |||||||||||
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Average ratings, output with a fixed a 2 digit precision.
Maximum rating value on rating scale (optional).
Minimum rating value on rating scale (optional).
Number of ratings that was taken into account (for average ratings).
Rating value (required).
Rating type.
Constructs an empty Rating.
Constructs a Rating class with a specified rating.
| rating | The value of the rating |
|---|
Generates an XML representation for the extension.
| w | XML writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
Returns the suggested extension description and is repeatable.
Returns the suggested extension description with configurable repeatability.
| repeatable |
|---|
The default implementation uses the AbstractExtension.AttributesHandler to handle
parsing the extension.
| extProfile | Extension profile |
|---|---|
| namespace | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attrs | Tag attributes |
| r |
|---|
| r |
|---|
| r |
|---|
| r |
|---|
| v |
|---|
| r |
|---|