| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.google.gdata.util.ErrorContent.LocationType | |
Enumerated constants for error location types.
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| VALUE_MAP | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the location type matching the given string value.
| |||||||||||
Return the string value of the location type.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
The error occurred in a header, and the location describes which one.
The error occurred somewhere else, or the location is unknown.
The location is an xpath expression to the location of the error in the request.
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.
| value |
|---|
Return the string value of the location type. This is the value that will appear in the XML output.