Class MultiKindFeedParser<T> (1.35.2)

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

NameDescription
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
NameDescription
responsecom.google.api.client.http.HttpResponse

HTTP response

namespaceDictionarycom.google.api.client.xml.XmlNamespaceDictionary

XML namespace dictionary

feedClassClass<T>

feed class

entryClassesClass<E>[]

entry class

Returns
TypeDescription
MultiKindFeedParser<T>

Atom multi-kind feed pull parser

Exceptions
TypeDescription
IOException

I/O exception

org.xmlpull.v1.XmlPullParserException

I/O exception

Methods

parseEntryInternal()

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

setEntryClasses(Class<?>[] entryClasses)

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

Sets the entry classes to use when parsing.

Parameter
NameDescription
entryClassesClass<?>[]