T
- feed type@Beta public final class MultiKindFeedParser<T> extends AbstractAtomFeedParser<T>
Beta
Modifier and Type | Method and Description |
---|---|
static <T,E> MultiKindFeedParser<T> |
create(HttpResponse response,
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.
|
close, getFeedClass, getInputStream, getNamespaceDictionary, getParser, parseFeed, parseNextEntry
public void setEntryClasses(Class<?>... entryClasses)
protected Object parseEntryInternal() throws IOException, org.xmlpull.v1.XmlPullParserException
parseEntryInternal
in class AbstractAtomFeedParser<T>
IOException
org.xmlpull.v1.XmlPullParserException
public static <T,E> MultiKindFeedParser<T> create(HttpResponse response, 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.