public class YouTubeMediaContent extends MediaContent
media:content.
This is really awkward to do in the gdata framework.MediaContent.ExpressionExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
YouTubeMediaContent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Subclasses can overwrite this method to parse extra
attributes.
|
static ExtensionDescription |
getDefaultDescription()
Describes the tag to an
ExtensionProfile. |
java.lang.Integer |
getYouTubeFormat()
Gets the youtube video format.
|
protected void |
putAttributes(AttributeGenerator generator)
Subclasses can overwrite this method to add extra attributes.
|
void |
setYouTubeFormat(java.lang.Integer youTubeFormat)
Sets the youtube video format, an opaque format number at this level.
|
getBitrate, getChannels, getDefaultDescription, getDuration, getExpression, getFileSize, getFramerate, getLanguage, getMedium, getSamplingrate, getType, isDefault, setBitrate, setChannels, setDefault, setDuration, setExpression, setFileSize, setFramerate, setLanguage, setMedium, setSamplingrate, setTypegetHeight, getUrl, getWidth, setHeight, setUrl, setWidthaddExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildrendisableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getHandlerpublic static ExtensionDescription getDefaultDescription()
ExtensionProfile.protected void putAttributes(AttributeGenerator generator)
AbstractMediaResourceputAttributes in class MediaContentgenerator - used to output attributes.protected void consumeAttributes(AttributeHelper attrsHelper) throws ParseException
AbstractMediaResourceconsumeAttributes in class MediaContentattrsHelper - attribute helperParseException - any parsing exceptionpublic java.lang.Integer getYouTubeFormat()
public void setYouTubeFormat(java.lang.Integer youTubeFormat)