public class MediaCategory extends AbstractExtension
<media:category>.
See description on
http://search.yahoo.com/mrss.AbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCHEME
Default scheme as defined by the specification.
|
localName, namespace| Constructor and Description |
|---|
MediaCategory()
Creates an empty category tag.
|
MediaCategory(String scheme,
String content)
Creates an initializes a category tag.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Consumes attributes from the attribute helper.
|
String |
getContent() |
String |
getLabel() |
String |
getScheme() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setContent(String content) |
void |
setLabel(String label) |
void |
setScheme(String scheme) |
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validatepublic static final String DEFAULT_SCHEME
public String getLabel()
public void setLabel(String label)
public String getScheme()
public void setScheme(String scheme)
protected void putAttributes(AttributeGenerator generator)
AbstractExtensionAbstractExtension.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
AbstractExtensionAttributeHelper.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 String getContent()
public void setContent(String content)
Copyright © 2012. All Rights Reserved.