| java.lang.Object | ||
| ↳ | com.google.gdata.data.AbstractExtension | |
| ↳ | com.google.gdata.data.photos.GphotoStarred | |
If viewer starred the photo and total number of stars.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | TOTAL | XML "total" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| total | Number of stars | ||||||||||
| value | Viewer starred photo | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the number of stars.
| |||||||||||
Returns the viewer starred photo.
| |||||||||||
Returns whether it has the number of stars.
| |||||||||||
Returns whether it has the viewer starred photo.
| |||||||||||
Sets the number of stars.
| |||||||||||
Sets the viewer starred photo.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "total" attribute name
XML element name
Number of stars
Viewer starred photo
Default mutable constructor.
Immutable constructor.
| total | Number of stars. |
|---|---|
| value | Viewer starred photo. |
| obj |
|---|
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the number of stars.
Returns the viewer starred photo.
Returns whether it has the number of stars.
Returns whether it has the viewer starred photo.
Sets the number of stars.
| total | Number of stars or null to reset
|
|---|
Sets the viewer starred photo.
| value | Viewer starred photo or null to reset
|
|---|
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 |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.