Class MultiKindFeedParser<T> (2.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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>
Inherited Members
com.google.api.client.xml.atom.AbstractAtomFeedParser.close()
com.google.api.client.xml.atom.AbstractAtomFeedParser.getFeedClass()
com.google.api.client.xml.atom.AbstractAtomFeedParser.getInputStream()
com.google.api.client.xml.atom.AbstractAtomFeedParser.getNamespaceDictionary()
com.google.api.client.xml.atom.AbstractAtomFeedParser.getParser()
com.google.api.client.xml.atom.AbstractAtomFeedParser.parseEntryInternal()
com.google.api.client.xml.atom.AbstractAtomFeedParser.parseFeed()
com.google.api.client.xml.atom.AbstractAtomFeedParser.parseNextEntry()
Type Parameter
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
Exceptions
Type | Description |
IOException | I/O exception
|
org.xmlpull.v1.XmlPullParserException | I/O exception
|
Methods
parseEntryInternal()
protected Object parseEntryInternal()
Returns
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<?>[]
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]