|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.googleapis.xml.atom.GoogleAtom
public class GoogleAtom
Utilities for working with the Atom XML of Google Data APIs.
Field Summary | |
---|---|
static String |
ERROR_CONTENT_TYPE
Content type used on an error formatted in XML. |
static String |
GD_NAMESPACE
GData namespace. |
Method Summary | |
---|---|
static Map<String,Object> |
computePatch(Object patched,
Object original)
Compute the patch object of key/value pairs from the given original and patched objects, adding a @gd:fields key for the fields mask. |
static String |
getFeedFields(Class<?> feedClass,
Class<?> entryClass)
Returns the fields mask to use for the given data class of key/value pairs for the feed class and for the entry class. |
static String |
getFieldsFor(Class<?> dataClass)
Returns the fields mask to use for the given data class of key/value pairs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GD_NAMESPACE
public static final String ERROR_CONTENT_TYPE
Method Detail |
---|
public static String getFieldsFor(Class<?> dataClass)
Map
, GenericData
or a Collection
.
dataClass
- data class of key/value pairspublic static String getFeedFields(Class<?> feedClass, Class<?> entryClass)
Map
, GenericData
or a
Collection
.
feedClass
- feed data classentryClass
- entry data classpublic static Map<String,Object> computePatch(Object patched, Object original)
@gd:fields
key for the fields mask.
patched
- patched objectoriginal
- original object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |