com.google.api.client.googleapis.xml.atom
Class AtomPatchContent
java.lang.Object
com.google.api.client.xml.AbstractXmlHttpContent
com.google.api.client.xml.atom.AtomContent
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomPatchContent
public AtomPatchContent()
Copyright © 2010 Google. All Rights Reserved.