T
- feed type@Beta
public final class MultiKindFeedParser<T>
extends com.google.api.client.xml.atom.AbstractAtomFeedParser<T>
Beta
Modifier and Type | Method and Description |
---|---|
static <T,E> MultiKindFeedParser<T> |
create(com.google.api.client.http.HttpResponse response,
com.google.api.client.xml.XmlNamespaceDictionary namespaceDictionary,
Class<T> feedClass,
Class<E>... entryClasses)
Parses the given HTTP response using the given feed class and entry classes.
|
protected Object |
parseEntryInternal() |
void |
setEntryClasses(Class<?>... entryClasses)
Sets the entry classes to use when parsing.
|
public void setEntryClasses(Class<?>... entryClasses)
protected Object parseEntryInternal() throws IOException, org.xmlpull.v1.XmlPullParserException
parseEntryInternal
in class com.google.api.client.xml.atom.AbstractAtomFeedParser<T>
IOException
org.xmlpull.v1.XmlPullParserException
public static <T,E> MultiKindFeedParser<T> create(com.google.api.client.http.HttpResponse response, com.google.api.client.xml.XmlNamespaceDictionary namespaceDictionary, Class<T> feedClass, Class<E>... entryClasses) throws IOException, org.xmlpull.v1.XmlPullParserException
T
- feed typeE
- entry typeresponse
- HTTP responsenamespaceDictionary
- XML namespace dictionaryfeedClass
- feed classentryClasses
- entry classIOException
- I/O exceptionorg.xmlpull.v1.XmlPullParserException
- XML pull parser exceptionCopyright © 2010–2019 Google. All rights reserved.