| java.lang.Object | |
| ↳ | com.google.gdata.data.photos.impl.MediaDataImpl |
Implementation of the MediaData interface. This currently only supports
mediarss content inside of a media:group element, it doesn't handle inlined
media:content or media:thumbnail elements. This class uses a passed in
ExtensionPoint to pull extensions from.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| extPoint | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new implementation of MediaData with the given
extension point as the backing storage for data.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds an extension object.
| |||||||||||
Adds a repeating extension object.
| |||||||||||
Declares the set of expected Extension types for an Extensible
within the target extension profile.
| |||||||||||
Retrieve the list of media:category elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:content elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:credit elements inside the media:group on
this element.
| |||||||||||
Retrieve the media:group element on this element.
| |||||||||||
Retrieve the list of media:keywords elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:thumbnail elements inside the media:group on
this element.
| |||||||||||
Removes an extension object.
| |||||||||||
Removes an extension object based on its class.
| |||||||||||
Removes a repeating extension object.
| |||||||||||
Sets an extension object.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.photos.Extensible
| |||||||||||
From interface
com.google.gdata.data.photos.MediaData
| |||||||||||
Construct a new implementation of MediaData with the given extension point as the backing storage for data.
| extensionPoint |
|---|
Adds an extension object. Forwards to
addExtension(Extension).
| extension |
|---|
Adds a repeating extension object. Forwards to
addRepeatingExtension(Extension).
| extension |
|---|
Declares the set of expected Extension types for an Extensible
within the target extension profile. Forwards to
declareExtensions(ExtensionProfile).
| extProfile | The ExtensionProfile to initialize. |
|---|
Retrieve the list of media:category elements inside the media:group on this element. If either the media:group or media:category elements are missing then an empty list will be returned.
Retrieve the list of media:content elements inside the media:group on this element. If either the media:group or media:content elements are missing then an empty list will be returned.
Retrieve the list of media:credit elements inside the media:group on this element. If either the media:group or media:credit elements are missing then an empty list will be returned.
Retrieve the media:group element on this element. This will return null if there was no media:group element set.
Retrieve the list of media:keywords elements inside the media:group on
this element. If either the media:group or media:keywords elements are
missing then null will be returned.
null.
Retrieve the list of media:thumbnail elements inside the media:group on this element. If either the media:group or media:thumbnail elements are missing then an empty list will be returned.
Removes an extension object. Forwards to
removeExtension(Extension).
| extension |
|---|
Removes an extension object based on its class. Forwards to
removeExtension(Class).
| extensionClass |
|---|
Removes a repeating extension object. Forwards to
removeRepeatingExtension(Extension).
| extension |
|---|
Sets an extension object. If one exists of this type, it's replaced.
Forwards to setExtension(Extension).
| extension |
|---|
Set the media keywords on this element to the given keywords. Will create the media:group element as needed.
| keywords |
|---|