com.google.api.client.xml
Class XmlParser
java.lang.Object
com.google.api.client.xml.XmlParser
- All Implemented Interfaces:
- HttpParser
Deprecated. (scheduled to be removed in version 1.1) Use
XmlHttpParser
@Deprecated
public abstract class XmlParser
- extends Object
- implements HttpParser
Abstract XML HTTP parser into an data class of key/value pairs.
- Since:
- 1.0
- Author:
- Yaniv Inbar
|
Method Summary |
|
parse(HttpResponse response,
Class<T> dataClass)
Deprecated. Default implementation parses the content of the response into the data
class of key/value pairs, but subclasses may override. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaceDictionary
public XmlNamespaceDictionary namespaceDictionary
- Deprecated.
- XML namespace dictionary.
XmlParser
public XmlParser()
- Deprecated.
parse
public <T> T parse(HttpResponse response,
Class<T> dataClass)
throws IOException
- Deprecated.
- Default implementation parses the content of the response into the data
class of key/value pairs, but subclasses may override.
- Specified by:
parse in interface HttpParser
- Throws:
IOException
Copyright © 2010 Google. All Rights Reserved.