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

public final class AtomParser
extends XmlHttpParser

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

It overrides the XmlHttpParser.contentType to Atom.CONTENT_TYPE.

Sample usage:

 
  static void setParser(HttpTransport transport) {
    AtomParser parser = new AtomParser();
    parser.namespaceDictionary = NAMESPACE_DICTIONARY;
    transport.addParser(parser);
  }
 
 

Since:
1.4
Author:
Yaniv Inbar

Field Summary
 
Fields inherited from class com.google.api.client.http.xml.XmlHttpParser
CONTENT_TYPE, contentType, namespaceDictionary
 
Constructor Summary
AtomParser()
           
 
Method Summary
 
Methods inherited from class com.google.api.client.http.xml.XmlHttpParser
getContentType, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomParser

public AtomParser()


Copyright © 2010-2011 Google. All Rights Reserved.