Google Data APIs Client Library
com.google.gdata.data.media.mediarss
Class AbstractMediaResource
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.media.mediarss.AbstractMediaResource
- All Implemented Interfaces:
- Extension
- Direct Known Subclasses:
- MediaContent, MediaPlayer, MediaThumbnail
public abstract class AbstractMediaResource
- extends ExtensionPoint
- implements Extension
An empty tag with a url, width and height attribute.
| Methods inherited from class com.google.gdata.data.ExtensionPoint |
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
putAttributes
protected void putAttributes(AttributeGenerator generator)
- Subclasses can overwrite this method to add extra attributes.
- Overrides:
putAttributes in class AbstractExtension
- Parameters:
generator - used to output attributes.
consumeAttributes
protected void consumeAttributes(AttributeHelper attrsHelper)
throws ParseException
- Subclasses can overwrite this method to parse extra
attributes.
- Overrides:
consumeAttributes in class AbstractExtension
- Parameters:
attrsHelper -
- Throws:
ParseException - any parsing exception