public class

GmlPos

extends PointConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.geo.impl.PointConstruct
         ↳ com.google.gdata.data.geo.impl.GmlPos

Class Overview

A GML Coordinate which is just a space-separated pair of lat/lon. <gml:pos>45.256 -71.92</gml:pos>

Summary

Constants
String NAME
[Expand]
Inherited Fields
From class com.google.gdata.data.geo.impl.PointConstruct
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
GmlPos()
Constructs an empty gml:pos element.
GmlPos(Double lat, Double lon)
Constructs a gml:pos element with the given latitude and longitude.
GmlPos(Point copyFrom)
Constructs a gml:pos element by copying the lat/long values out of the supplied point.
Public Methods
static ExtensionDescription getDefaultDescription(boolean repeatable)
Returns the suggested extension description with configurable repeatability.
static ExtensionDescription getDefaultDescription()
Returns the suggested extension description and is repeatable.
[Expand]
Inherited Methods
From class com.google.gdata.data.geo.impl.PointConstruct
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.geo.Point

Constants

static final String NAME

Constant Value: "pos"

Public Constructors

public GmlPos ()

Constructs an empty gml:pos element.

public GmlPos (Double lat, Double lon)

Constructs a gml:pos element with the given latitude and longitude.

Parameters
lat
lon

public GmlPos (Point copyFrom)

Constructs a gml:pos element by copying the lat/long values out of the supplied point. If the point is null then an empy gml:pos will be created.

Parameters
copyFrom

Public Methods

public static ExtensionDescription getDefaultDescription (boolean repeatable)

Returns the suggested extension description with configurable repeatability.

Parameters
repeatable

public static ExtensionDescription getDefaultDescription ()

Returns the suggested extension description and is repeatable.