public class MediaKeywords extends AbstractExtension
<media:keywords>.
See description on
http://search.yahoo.com/mrss.AbstractExtension.AttributesHandlerlocalName, namespace| Constructor and Description |
|---|
MediaKeywords() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyword(String keyword) |
void |
addKeywords(Collection<String> keywords) |
void |
clearKeywords() |
protected void |
consumeAttributes(AttributeHelper attrsHelper)
Consumes attributes from the attribute helper.
|
static ExtensionDescription |
getDefaultDescription()
Describes the tag to an
ExtensionProfile. |
List<String> |
getKeywords() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validatepublic static ExtensionDescription getDefaultDescription()
ExtensionProfile.public void addKeyword(String keyword)
public void addKeywords(Collection<String> keywords)
public void clearKeywords()
protected void putAttributes(AttributeGenerator generator)
AbstractExtensionAbstractExtension.generate(XmlWriter,ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.putAttributes in class AbstractExtensiongenerator - 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.consumeAttributes in class AbstractExtensionattrsHelper - attribute helperParseException - any parsing exceptionCopyright © 2012. All Rights Reserved.