com.google.gdata.data.media.mediarss
Class MediaText

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.media.mediarss.AbstractTextElement
          extended by com.google.gdata.data.media.mediarss.MediaText
All Implemented Interfaces:
Extension

public class MediaText
extends AbstractTextElement

<media:text>. See description on http://search.yahoo.com/mrss.


Constructor Summary
MediaText()
           
 
Method Summary
 NormalPlayTime getEnd()
           
 java.lang.String getLang()
           
 NormalPlayTime getStart()
           
 void putAttributes(AttributeGenerator generator)
          Puts attributes into the attribute generator.
 void setEnd(NormalPlayTime end)
           
 void setLang(java.lang.String lang)
           
 void setStart(NormalPlayTime start)
           
 
Methods inherited from class com.google.gdata.data.media.mediarss.AbstractTextElement
getContent, getHandler, getPlainTextContent, isEmpty, setHtmlContent, setPlainTextContent
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaText

public MediaText()
Method Detail

getLang

public java.lang.String getLang()

setLang

public void setLang(java.lang.String lang)

getEnd

public NormalPlayTime getEnd()

setEnd

public void setEnd(NormalPlayTime end)

getStart

public NormalPlayTime getStart()

setStart

public void setStart(NormalPlayTime start)

putAttributes

public void putAttributes(AttributeGenerator generator)
Description copied from class: AbstractExtension
Puts attributes into the attribute generator. Called from AbstractExtension.generate(XmlWriter,ExtensionProfile). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Overrides:
putAttributes in class AbstractTextElement
Parameters:
generator - attribute generator