public class

GeoPt

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.extensions.GeoPt

This class is deprecated.
Use com.google.gdata.data.geo.impl package.

Class Overview

GData schema extension describing a geographic location.

Summary

Fields
protected Float elev Elevation.
protected String label Label.
protected Float lat Latitude.
protected Float lon Longitude.
protected DateTime time Time.
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
GeoPt()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
Returns the suggested extension description and is repeatable.
static ExtensionDescription getDefaultDescription(boolean repeatable)
Returns the suggested extension description with configurable repeatability.
Float getElev()
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
String getLabel()
Float getLat()
Float getLon()
DateTime getTime()
void setElev(Float v)
void setLabel(String v)
void setLat(Float v)
void setLon(Float v)
void setTime(DateTime v)
[Expand]
Inherited Methods
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Fields

protected Float elev

Elevation.

protected String label

Label.

protected Float lat

Latitude.

protected Float lon

Longitude.

protected DateTime time

Time.

Public Constructors

public GeoPt ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public static ExtensionDescription getDefaultDescription ()

Returns the suggested extension description and is repeatable.

public static ExtensionDescription getDefaultDescription (boolean repeatable)

Returns the suggested extension description with configurable repeatability.

Parameters
repeatable

public Float getElev ()

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public String getLabel ()

public Float getLat ()

public Float getLon ()

public DateTime getTime ()

public void setElev (Float v)

Parameters
v

public void setLabel (String v)

Parameters
v

public void setLat (Float v)

Parameters
v

public void setLon (Float v)

Parameters
v

public void setTime (DateTime v)

Parameters
v