Class MultiKindFeedParser<T> (2.5.0)

public final class MultiKindFeedParser<T> extends AbstractAtomFeedParser<T>

Beta
GData Atom feed pull parser when the entry class can be computed from the kind.

Inheritance

Object > com.google.api.client.xml.atom.AbstractAtomFeedParser > MultiKindFeedParser<T>

Type Parameter

Name Description
T

Static Methods

<T,E>create(HttpResponse response, XmlNamespaceDictionary namespaceDictionary, Class<T> feedClass, Class<E>[] entryClasses)

public static MultiKindFeedParser<T> <T,E>create(HttpResponse response, XmlNamespaceDictionary namespaceDictionary, Class<T> feedClass, Class<E>[] entryClasses)

Parses the given HTTP response using the given feed class and entry classes.

Parameters
Name Description
response com.google.api.client.http.HttpResponse

HTTP response

namespaceDictionary com.google.api.client.xml.XmlNamespaceDictionary

XML namespace dictionary

feedClass Class<T>

feed class

entryClasses Class<E>[]

entry class

Returns
Type Description
MultiKindFeedParser<T>

Atom multi-kind feed pull parser

Exceptions
Type Description
IOException

I/O exception

org.xmlpull.v1.XmlPullParserException

I/O exception

Methods

parseEntryInternal()

protected Object parseEntryInternal()
Returns
Type Description
Object
Overrides
com.google.api.client.xml.atom.AbstractAtomFeedParser.parseEntryInternal()
Exceptions
Type Description
IOException
org.xmlpull.v1.XmlPullParserException

setEntryClasses(Class<?>[] entryClasses)

public void setEntryClasses(Class<?>[] entryClasses)

Sets the entry classes to use when parsing.

Parameter
Name Description
entryClasses Class<?>[]