|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.media.mediarss.AbstractMediaResource
public abstract class AbstractMediaResource
An empty tag with a url, width and height attribute.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary |
---|
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Method Summary | |
---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Subclasses can overwrite this method to parse extra attributes. |
int |
getHeight()
|
java.lang.String |
getUrl()
|
int |
getWidth()
|
protected void |
putAttributes(AttributeGenerator generator)
Subclasses can overwrite this method to add extra attributes. |
void |
setHeight(int height)
|
void |
setUrl(java.lang.String url)
|
void |
setWidth(int width)
|
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.Extension |
---|
generate, getHandler |
Method Detail |
---|
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
protected void putAttributes(AttributeGenerator generator)
putAttributes
in class AbstractExtension
generator
- used to output attributes.protected void consumeAttributes(AttributeHelper attrsHelper) throws ParseException
consumeAttributes
in class AbstractExtension
attrsHelper
-
ParseException
- any parsing exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |