public static final enum

ErrorContent.LocationType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.gdata.util.ErrorContent.LocationType

Class Overview

Enumerated constants for error location types.

Summary

Enum Values
ErrorContent.LocationType  HEADER  The error occurred in a header, and the location describes which one. 
ErrorContent.LocationType  OTHER  The error occurred somewhere else, or the location is unknown. 
ErrorContent.LocationType  XPATH  The location is an xpath expression to the location of the error in the request. 
Fields
private static final Map<String, ErrorContent.LocationType> VALUE_MAP
[Expand]
Inherited Fields
From class java.lang.Enum
Public Methods
static ErrorContent.LocationType fromString(String value)
Return the location type matching the given string value.
String toString()
Return the string value of the location type.
static ErrorContent.LocationType valueOf(String name)
final static LocationType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ErrorContent.LocationType HEADER

The error occurred in a header, and the location describes which one.

public static final ErrorContent.LocationType OTHER

The error occurred somewhere else, or the location is unknown.

public static final ErrorContent.LocationType XPATH

The location is an xpath expression to the location of the error in the request.

Fields

private static final Map<String, ErrorContent.LocationType> VALUE_MAP

Public Methods

public static ErrorContent.LocationType fromString (String value)

Return the location type matching the given string value. Unlike the valueOf(String) method, this will return null if the value was not found, rather than throwing an exception. The values are based on the toString() method for each location type.

Parameters
value

public String toString ()

Return the string value of the location type. This is the value that will appear in the XML output.

public static ErrorContent.LocationType valueOf (String name)

Parameters
name

public static final LocationType[] values ()