com.google.api.client.http.xml.atom
Class AtomParser

java.lang.Object
  extended by com.google.api.client.http.xml.XmlHttpParser
      extended by com.google.api.client.http.xml.atom.AtomParser
All Implemented Interfaces:
HttpParser

Deprecated. (scheduled to be removed in 1.11) Content-Type is no longer stored inside of the Parser. Use an XmlObjectParser instead.

@Deprecated
public final class AtomParser
extends XmlHttpParser

Atom XML HTTP parser into an data class of key/value pairs.

It overrides the XmlHttpParser.getContentType() to Atom.CONTENT_TYPE.

Implementation is thread-safe.

Sample usage:

  static void setParser(HttpRequest request, XmlNamespaceDictionary namespaceDictionary) {
    request.addParser(new AtomParser(namespaceDictionary));
  }
 

Since:
1.4
Author:
Yaniv Inbar

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.http.xml.XmlHttpParser
XmlHttpParser.Builder
 
Field Summary
 
Fields inherited from class com.google.api.client.http.xml.XmlHttpParser
CONTENT_TYPE
 
Constructor Summary
AtomParser(XmlNamespaceDictionary namespaceDictionary)
          Deprecated.  
 
Method Summary
 
Methods inherited from class com.google.api.client.http.xml.XmlHttpParser
builder, getContentType, getNamespaceDictionary, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomParser

public AtomParser(XmlNamespaceDictionary namespaceDictionary)
Deprecated. 
Parameters:
namespaceDictionary - XML namespace dictionary
Since:
1.5


Copyright © 2011-2012 Google. All Rights Reserved.