public interface

Extension

com.google.gdata.data.Extension
Known Indirect Subclasses

Class Overview

Interface for GData extension data types. It is designed to be hosted within ExtensionPoint.

Summary

Public Methods
abstract void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
abstract XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
Gets an XML element handler for the extension.

Public Methods

public abstract void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public abstract XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

Gets an XML element handler for the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler
Throws
ParseException when an unexpected tag or badly-formatted XML is detected
IOException