Google Data APIs Client Library (1.41.1)
Class ExtensionPoint.CumulativeBlobHandler

  extended by
      extended by
Enclosing class:

public class ExtensionPoint.CumulativeBlobHandler
extends XmlParser.ElementHandler

Parser class for cumulative XML blobs.

Field Summary
Fields inherited from class
qName, value, xmlBase, xmlLang
Constructor Summary
ExtensionPoint.CumulativeBlobHandler(ExtensionProfile extProfile, java.lang.Class<? extends ExtensionPoint> extendedClass)
Method Summary
 XmlParser.ElementHandler getChildHandler(java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
          Determines a handler for a child element.
Methods inherited from class
getAbsoluteUri, getBooleanAttribute, getChildHandler, initializeXmlBlob, parseBooleanValue, processAttribute, processAttribute, processEndElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ExtensionPoint.CumulativeBlobHandler(ExtensionProfile extProfile,
                                            java.lang.Class<? extends ExtensionPoint> extendedClass)
Method Detail


public XmlParser.ElementHandler getChildHandler(java.lang.String namespace,
                                                java.lang.String localName,
                                                org.xml.sax.Attributes attrs)
                                         throws ParseException,
Description copied from class: XmlParser.ElementHandler
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.

getChildHandler in class XmlParser.ElementHandler
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 XmlParser.ElementHandler.processAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.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.
Child element handler, or null if the child is unrecognized.
ParseException - Invalid child element. - Internal I/O exception (e.g., thrown by XML blob writer).