Google Data APIs Client Library
com.google.gdata.data.extensions
Class Comments
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.extensions.Comments
- All Implemented Interfaces:
- Extension
public class Comments
- extends ExtensionPoint
- implements Extension
GData schema extension describing a comments feed.
| Methods inherited from class com.google.gdata.data.ExtensionPoint |
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
feedLink
protected FeedLink feedLink
- Comments feed link.
Comments
public Comments()
getFeedLink
public FeedLink getFeedLink()
setFeedLink
public void setFeedLink(FeedLink v)
getDefaultDescription
public static ExtensionDescription getDefaultDescription()
- Returns the suggested extension description.
generate
public void generate(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
throws java.io.IOException
- Description copied from interface:
Extension
- Generates an XML representation for the extension.
- Specified by:
generate in interface Extension- Overrides:
generate in class AbstractExtension
- Parameters:
w - XML writerextProfile - extension profile
- Throws:
java.io.IOException
getHandler
public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws ParseException,
java.io.IOException
- Description copied from interface:
Extension
- Gets an XML element handler for the extension.
- Specified by:
getHandler in interface Extension- Overrides:
getHandler in class ExtensionPoint
- Parameters:
extProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributes
- Returns:
- an element handler
- Throws:
ParseException - when an unexpected tag or badly-formatted
XML is detected
java.io.IOException