public class

Source.SourceHandler

extends ExtensionPoint.ExtensionHandler
java.lang.Object
   ↳ com.google.gdata.util.XmlParser.ElementHandler
     ↳ com.google.gdata.data.AbstractExtension.AttributesHandler
       ↳ com.google.gdata.data.ExtensionPoint.ExtensionHandler
         ↳ com.google.gdata.data.Source.SourceHandler
Known Direct Subclasses

Class Overview

<atom:source> parser.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint.ExtensionHandler
From class com.google.gdata.data.AbstractExtension.AttributesHandler
From class com.google.gdata.util.XmlParser.ElementHandler
Public Constructors
Source.SourceHandler(ExtensionProfile extProfile)
Protected Constructors
Source.SourceHandler(ExtensionProfile extProfile, Class<? extends ExtensionPoint> extClass)
Public Methods
XmlParser.ElementHandler getChildHandler(String namespace, String localName, Attributes attrs)
Determines a handler for a child element.
[Expand]
Inherited Methods
From class com.google.gdata.data.ExtensionPoint.ExtensionHandler
From class com.google.gdata.data.AbstractExtension.AttributesHandler
From class com.google.gdata.util.XmlParser.ElementHandler
From class java.lang.Object

Public Constructors

public Source.SourceHandler (ExtensionProfile extProfile)

Parameters
extProfile

Protected Constructors

protected Source.SourceHandler (ExtensionProfile extProfile, Class<? extends ExtensionPoint> extClass)

Parameters
extProfile
extClass

Public Methods

public XmlParser.ElementHandler getChildHandler (String namespace, String localName, Attributes attrs)

Determines a handler for a child element.

The default implementation doesn't recognize anything. The result is a schema error unless the parent handler accepts unrecognized XML. XmlParser. localname/namespace.

Parameters
namespace Child element namespace URI.
localName Child element name.
attrs Child element attributes. These attributes will be communicated to the child element handler through its processAttribute(String, String, String) method. They are passed here because sometimes the value of some attribute determines the element's content type, so different element handlers may be needed.
Returns
  • Child element handler, or null if the child is unrecognized.
Throws
ParseException
IOException