2.9.3 (latest) 2.9.2 2.8.1 2.7.2 2.6.0 2.5.1 2.4.1 2.1.2 2.0.1 1.35.2 1.34.1 1.33.4

```java
public class GoogleAtom
```
Beta   

Utilities for working with the Atom XML of Google Data APIs.

## Inheritance

[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> GoogleAtom

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### ERROR_CONTENT_TYPE

```java
public static final String ERROR_CONTENT_TYPE
```
Content type used on an error formatted in XML.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `String` |   |

### GD_NAMESPACE

```java
public static final String GD_NAMESPACE
```
GData namespace.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `String` |   |

## Static Methods

### computePatch(Object patched, Object original)

```java
public 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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `patched` | `Object` patched object |
| `original` | `Object` original object |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Map<String,Object>` | patch object of key/value pairs |

### getFeedFields(Class\<?\> feedClass, Class\<?\> entryClass)

```java
public 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. This should only be used if the feed class does not contain the entry
class as a field. The data classes cannot be a [Map](https://docs.oracle.com/javase/8/docs/api/java/util/Map.html), GenericData or a [Collection](https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `feedClass` | `Class<?>` feed data class |
| `entryClass` | `Class<?>` entry data class |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `String` |   |

### getFieldsFor(Class\<?\> dataClass)

```java
public static String getFieldsFor(Class<?> dataClass)
```
Returns the fields mask to use for the given data class of key/value pairs. It cannot be a
[Map](https://docs.oracle.com/javase/8/docs/api/java/util/Map.html), GenericData or a [Collection](https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `dataClass` | `Class<?>` data class of key/value pairs |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `String` |   |