public final class MultiKindFeedParser<T> extends AbstractAtomFeedParser<T>
Beta
GData Atom feed pull parser when the entry class can be computed from the kind.
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.
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 |
Type | Description |
MultiKindFeedParser<T> | Atom multi-kind feed pull parser |
Type | Description |
IOException | I/O exception |
org.xmlpull.v1.XmlPullParserException | I/O exception |
Methods
parseEntryInternal()
protected Object parseEntryInternal()
Type | Description |
Object |
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.
Name | Description |
entryClasses | Class<?>[] |