@Beta public class GoogleAtom extends Object
Beta
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_CONTENT_TYPE
Content type used on an error formatted in XML.
|
static String |
GD_NAMESPACE
GData namespace.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String GD_NAMESPACE
public static final String ERROR_CONTENT_TYPE
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 objectCopyright © 2010–2019 Google. All rights reserved.