public final class GeoPoint extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GeoPoint() |
Modifier and Type | Method and Description |
---|---|
GeoPoint |
clone() |
Double |
getAltitude()
Altitude above the reference ellipsoid, in meters.
|
Double |
getLatitude()
Latitude in degrees.
|
Double |
getLongitude()
Longitude in degrees.
|
GeoPoint |
set(String fieldName,
Object value) |
GeoPoint |
setAltitude(Double altitude)
Altitude above the reference ellipsoid, in meters.
|
GeoPoint |
setLatitude(Double latitude)
Latitude in degrees.
|
GeoPoint |
setLongitude(Double longitude)
Longitude in degrees.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Double getAltitude()
null
for nonepublic GeoPoint setAltitude(Double altitude)
altitude
- altitude or null
for nonepublic Double getLatitude()
null
for nonepublic GeoPoint setLatitude(Double latitude)
latitude
- latitude or null
for nonepublic Double getLongitude()
null
for nonepublic GeoPoint setLongitude(Double longitude)
longitude
- longitude or null
for nonepublic GeoPoint set(String fieldName, Object value)
set
in class GenericJson
public GeoPoint clone()
clone
in class GenericJson