public class MediaText extends AbstractTextElement
<media:text>
.
See description on
http://search.yahoo.com/mrss.AbstractExtension.AttributesHandler
localName, namespace
Constructor and Description |
---|
MediaText() |
Modifier and Type | Method and Description |
---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
The default implementation does nothing, subclasses can override to handle
attributes.
|
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) |
getContent, getHandler, getPlainTextContent, isEmpty, setHtmlContent, setPlainTextContent
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public java.lang.String getLang()
public void setLang(java.lang.String lang)
public NormalPlayTime getEnd()
public void setEnd(NormalPlayTime end)
public NormalPlayTime getStart()
public void setStart(NormalPlayTime start)
public void putAttributes(AttributeGenerator generator)
AbstractExtension
AbstractExtension.generate(XmlWriter,ExtensionProfile)
. Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.putAttributes
in class AbstractTextElement
generator
- attribute generatorprotected void consumeAttributes(AttributeHelper attrsHelper) throws ParseException
AbstractTextElement
consumeAttributes
in class AbstractTextElement
attrsHelper
- attribute helperParseException
- from subclasses.