public class

Entry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.Entry

Class Overview

The Entry class customizes the BaseFeed class to represent the most generic possible entry type. One usage for this class is to enable the parsing of an entry where the extension model is unknown at the start of the parsing process. Using in combination with ExtensionProfile auto-extension, the feed can be parsed generically, and then the getAdaptedEntry() can be used to retrieve a more-specfic entry type based upon the Category kind elements founds within the parsed entry content.

See Also

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Entry()
Constructs a new uninitialized Entry instance.
Entry(BaseEntry<?> sourceEntry)
Constructs a new Entry by doing a shallow copy from another BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.

The Entry class declares support for processing of arbitrary entry extension data (as XmlBlobs).

[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public Entry ()

Constructs a new uninitialized Entry instance.

public Entry (BaseEntry<?> sourceEntry)

Constructs a new Entry by doing a shallow copy from another BaseEntry instance.

Parameters
sourceEntry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

The Entry class declares support for processing of arbitrary entry extension data (as XmlBlobs). Subtypes which want stricter parsing should override this method and not delegate to the base implementation.

Parameters
extProfile The ExtensionProfile to initialize.