| java.lang.Object | |
| ↳ | com.google.gdata.data.geo.impl.BoxDataImpl |
Implementation of the BoxData interface. Currently only supports a
non-repeating Box extension. This class uses an ExtensionPoint that
is passed in to store the Box extension.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| extPoint | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new BoxData with the given extension point as the backing
storage of the data.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Removes the first Box extension found on the extension point.
| |||||||||||
Clears the bounding box and removes the extension point.
| |||||||||||
Helper method to retrieve the Box extension point.
| |||||||||||
Gets the geo bounding box for this extension point.
| |||||||||||
Sets the geo bounding box of the extension passed in.
| |||||||||||
Sets the geo bounding box to the given box.
| |||||||||||
If there is an existing box this will set the new values on it.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.geo.BoxData
| |||||||||||
Construct a new BoxData with the given extension point as the backing storage of the data.
| extensionPoint |
|---|
Removes the first Box extension found on the extension point. If the box extension is a GeoRssWhere, it will only remove the GeoRssWhere extension if it does not contain a Point extension.
| ext | The extension point from which to clear the Box extension. |
|---|
Clears the bounding box and removes the extension point.
Helper method to retrieve the Box extension point. Note this will return empty boxes but will only return an GeoRssWhere extension point if it contains a GmlEnvelope.
| ext | The containing extension point. |
|---|
Gets the geo bounding box for this extension point.
Sets the geo bounding box of the extension passed in. This will first try to replace any existing bounding box information. If there is no existing bounding box, then it'll simply add the box extension.
| ext | The extension point to add the Box to. |
|---|---|
| box | The new box information. |
Sets the geo bounding box to the given box. If there is an existing box it will copy the values from the given box, otherwise it will use the new box as the extension.
| box | The box that bounds this entity. |
|---|
If there is an existing box this will set the new values on it. Otherwise it will create a new GeoRssWhere element to contain them. If just one argument is null it will throw an exception.
| lowerLeft | The lower left coordinate of the box. |
|---|---|
| upperRight | The upper right coordinate of the box. |