| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.geo.impl.GeoRssWhere | ||
The georss:where element. This can contain other elements, so it is extensible, but it also acts as a Point object. It can also act as a Box as well, and can be extended to support other GML object types.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | NAME | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an empty georss:where element.
| |||||||||||
Constructs a georss:where element containing the given lat/lon point.
| |||||||||||
Constructs a georss:where element containing the given point.
| |||||||||||
Constructs a georss:where element containing the four coordinates that
define a box.
| |||||||||||
Constructs a georss:where element containing the given gml:lowerCorner
and gml:upperCorner elements.
| |||||||||||
Constructs a georss:where element containing the given box.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Removes the GmlEnvelope element inside this GeoRssWhere.
| |||||||||||
Removes the GmlPoint element inside this GeoRssWhere.
| |||||||||||
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Generates an XML representation for the extension.
| |||||||||||
Returns the suggested extension description and is repeatable.
| |||||||||||
Returns the default extension description for this element.
| |||||||||||
Sets the coordinates of this box.
| |||||||||||
Sets the latitude and longitude coordinates of this Point.
| |||||||||||
|
[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
| |||||||||||
From interface
com.google.gdata.data.geo.Box
| |||||||||||
From interface
com.google.gdata.data.geo.Point
| |||||||||||
Constructs an empty georss:where element.
Constructs a georss:where element containing the given lat/lon point. If the given lat and lon are null, will construct an empty gml:Point element.
| lat | |
|---|---|
| lon |
Constructs a georss:where element containing the given point. If the point is already a gml:Point object, it will be used as the extension directly, otherwise a copy will be created. If the point is null no extensions will be added.
| point |
|---|
Constructs a georss:where element containing the four coordinates that define a box. If all of the points are null then an empty gml:envelope will be created.
| lowerLat | |
|---|---|
| lowerLon | |
| upperLat | |
| upperLon |
Constructs a georss:where element containing the given gml:lowerCorner and gml:upperCorner elements. If both lower and upper are null then an empty gml:envelope will be created.
| lower | |
|---|---|
| upper |
Constructs a georss:where element containing the given box. If the box is null no extension will be set.
| box |
|---|
Removes the GmlEnvelope element inside this GeoRssWhere.
Removes the GmlPoint element inside this GeoRssWhere.
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Generates an XML representation for the extension.
| w | XML writer |
|---|---|
| p | Extension profile |
| IOException |
|---|
Returns the suggested extension description and is repeatable.
Returns the default extension description for this element.
| repeatable |
|---|
Sets the coordinates of this box. Both lowerLeft and upperRight must be non-null or both must be null. Implementations will throw an IllegalArgumentException if one is null and the other non-null.
| lowerLeft | The lower left coordinate. The latitude of this point must be below the latitude of the upper right coordinate. |
|---|---|
| upperRight | The upper right coordinate. The latitude of this point must be above the latitude of the lower left coordinate. |
Sets the latitude and longitude coordinates of this Point. Either both lat and lon must be non-null, or both must be null. Implementations will throw an IllegalArgumentException if only one is null and one is not. They will also throw an IllegalArgumentException if either of the lat values is outside the valid range.
| lat | The latitude in degrees, from -90 to 90. |
|---|---|
| lon | The longitude in degrees, from -180 to 180. |