public class MediaHash extends AbstractExtension
<media:hash>
.
See description on
http://search.yahoo.com/mrss.AbstractExtension.AttributesHandler
localName, namespace
Constructor and Description |
---|
MediaHash() |
Modifier and Type | Method and Description |
---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Consumes attributes from the attribute helper.
|
java.lang.String |
getAlgo() |
java.lang.String |
getContent() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setAlgo(java.lang.String algo) |
void |
setContent(java.lang.String content) |
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public java.lang.String getAlgo()
public void setAlgo(java.lang.String algo)
protected void putAttributes(AttributeGenerator generator)
AbstractExtension
AbstractExtension.generate(XmlWriter,ExtensionProfile)
. Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.generator
- attribute generatorprotected void consumeAttributes(AttributeHelper attrsHelper) throws ParseException
AbstractExtension
AttributeHelper.consumeContent(boolean)
to consume the element's text
content. Called from AbstractExtension.getHandler(com.google.gdata.data.ExtensionProfile, java.lang.String, java.lang.String, org.xml.sax.Attributes)
. Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.attrsHelper
- attribute helperParseException
- any parsing exceptionpublic java.lang.String getContent()
public void setContent(java.lang.String content)