com.google.api.client.xml
Class XmlParser

java.lang.Object
  extended by 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

Field Summary
 XmlNamespaceDictionary namespaceDictionary
          Deprecated. XML namespace dictionary.
 
Constructor Summary
XmlParser()
          Deprecated.  
 
Method Summary
<T> T
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
 
Methods inherited from interface com.google.api.client.http.HttpParser
getContentType
 

Field Detail

namespaceDictionary

public XmlNamespaceDictionary namespaceDictionary
Deprecated. 
XML namespace dictionary.

Constructor Detail

XmlParser

public XmlParser()
Deprecated. 
Method Detail

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.