com.google.api.client.googleapis.xml.atom
Class AtomPatchContent

java.lang.Object
  extended by com.google.api.client.xml.AbstractXmlHttpContent
      extended by com.google.api.client.xml.atom.AtomContent
          extended by com.google.api.client.googleapis.xml.atom.AtomPatchContent
All Implemented Interfaces:
HttpContent

public final class AtomPatchContent
extends AtomContent

Serializes Atom XML PATCH HTTP content based on the data key/value mapping object for an Atom entry.

Default value for AbstractXmlHttpContent.contentType is XmlHttpParser.CONTENT_TYPE.

Sample usage:

 
 static void setContent(HttpRequest request,
     XmlNamespaceDictionary namespaceDictionary, Object entry) {
   AtomPatchContent content = new AtomPatchContent();
   content.namespaceDictionary = namespaceDictionary;
   content.entry = entry;
   request.content = content;
 }
 
 

Since:
1.0
Author:
Yaniv Inbar

Field Summary
 
Fields inherited from class com.google.api.client.xml.atom.AtomContent
entry
 
Fields inherited from class com.google.api.client.xml.AbstractXmlHttpContent
contentType, namespaceDictionary
 
Constructor Summary
AtomPatchContent()
           
 
Method Summary
 
Methods inherited from class com.google.api.client.xml.atom.AtomContent
writeTo
 
Methods inherited from class com.google.api.client.xml.AbstractXmlHttpContent
getEncoding, getLength, getType, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomPatchContent

public AtomPatchContent()


Copyright © 2010 Google. All Rights Reserved.