public class MediaRating extends AbstractExtension
<media:rating>
.
See description on
http://search.yahoo.com/mrss.AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_SCHEME |
localName, namespace
Constructor and Description |
---|
MediaRating() |
Modifier and Type | Method and Description |
---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Consumes attributes from the attribute helper.
|
java.lang.String |
getContent() |
java.lang.String |
getScheme() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setContent(java.lang.String content) |
void |
setScheme(java.lang.String scheme) |
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public static final java.lang.String DEFAULT_SCHEME
public java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
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)