de.micromata.opengis.kml.v_2_2_0
Class AbstractLatLonBox

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.AbstractObject
      extended by de.micromata.opengis.kml.v_2_2_0.AbstractLatLonBox
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
LatLonAltBox, LatLonBox

public abstract class AbstractLatLonBox
extends AbstractObject
implements java.lang.Cloneable

Specifies where the top, bottom, right, and left sides of a bounding box for the ground overlay are aligned. Specifies the latitude of the north edge of the bounding box, in decimal degrees from 0 to ±90. Specifies the latitude of the south edge of the bounding box, in decimal degrees from 0 to ±90. Specifies the longitude of the east edge of the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values can extend beyond that range.) Specifies the longitude of the west edge of the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values can extend beyond that range.) Specifies a rotation of the overlay about its center, in degrees. Values can be ±180. The default is 0 (north). Rotations are specified in a counterclockwise direction. 48.25475939255556 48.25207367852141 -90.86591508839973 -90.8714285289695 39.37878630116985


Field Summary
protected  java.util.List<AbstractObject> abstractLatLonBoxObjectExtension
          
protected  java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension
           
protected  double east
           (required)
protected  double north
           (required)
protected  double south
           (required)
protected  double west
           (required)
 
Fields inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
id, objectSimpleExtension, targetId
 
Constructor Summary
AbstractLatLonBox()
           
 
Method Summary
 AbstractLatLonBox addToAbstractLatLonBoxObjectExtension(AbstractObject abstractLatLonBoxObjectExtension)
          add a value to the abstractLatLonBoxObjectExtension property collection
 AbstractLatLonBox addToAbstractLatLonBoxSimpleExtension(java.lang.Object abstractLatLonBoxSimpleExtension)
          add a value to the abstractLatLonBoxSimpleExtension property collection
 AbstractLatLonBox addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
          add a value to the objectSimpleExtension property collection
 AbstractLatLonBox clone()
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<AbstractObject> getAbstractLatLonBoxObjectExtension()
           
 java.util.List<java.lang.Object> getAbstractLatLonBoxSimpleExtension()
           
 double getEast()
           
 double getNorth()
           
 double getSouth()
           
 double getWest()
           
 int hashCode()
           
 void setAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
           
 void setAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
           
 void setEast(double value)
           
 void setNorth(double value)
           
 void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
           
 void setSouth(double value)
           
 void setWest(double value)
           
 AbstractLatLonBox withAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
          fluent setter
 AbstractLatLonBox withAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
          fluent setter
 AbstractLatLonBox withEast(double east)
          fluent setter
 AbstractLatLonBox withId(java.lang.String id)
          fluent setter
 AbstractLatLonBox withNorth(double north)
          fluent setter
 AbstractLatLonBox withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
          fluent setter
 AbstractLatLonBox withSouth(double south)
          fluent setter
 AbstractLatLonBox withTargetId(java.lang.String targetId)
          fluent setter
 AbstractLatLonBox withWest(double west)
          fluent setter
 
Methods inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
getId, getObjectSimpleExtension, getTargetId, setId, setTargetId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

north

protected double north
(required)

Specifies the latitude of the north edge of the bounding box, in decimal degrees from 0 to ±90.


south

protected double south
(required)

Specifies the latitude of the south edge of the bounding box, in decimal degrees from 0 to ±90.


east

protected double east
(required)


west

protected double west
(required)

Specifies the longitude of the west edge of the bounding box, in decimal degrees from 0 to ±180.


abstractLatLonBoxSimpleExtension

protected java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension

abstractLatLonBoxObjectExtension

protected java.util.List<AbstractObject> abstractLatLonBoxObjectExtension

This is an abstract base class and cannot be used directly in a KML file. It provides the id attribute, which allows unique identification of a KML element, and the targetId attribute, which is used to reference objects that have already been loaded into Google Earth. The id attribute must be assigned if the mechanism is to be used.

Syntax:
<!-- abstract element; do not create -->
 <!-- Object id="ID" targetId="NCName" -->
 <!-- /Object> -->

Constructor Detail

AbstractLatLonBox

public AbstractLatLonBox()
Method Detail

getNorth

public double getNorth()
Returns:
possible object is Double
See Also:
north

setNorth

public void setNorth(double value)
Parameters:
value - allowed object is Double
See Also:
north

getSouth

public double getSouth()
Returns:
possible object is Double
See Also:
south

setSouth

public void setSouth(double value)
Parameters:
value - allowed object is Double
See Also:
south

getEast

public double getEast()
Returns:
possible object is Double
See Also:
east

setEast

public void setEast(double value)
Parameters:
value - allowed object is Double
See Also:
east

getWest

public double getWest()
Returns:
possible object is Double
See Also:
west

setWest

public void setWest(double value)
Parameters:
value - allowed object is Double
See Also:
west

getAbstractLatLonBoxSimpleExtension

public java.util.List<java.lang.Object> getAbstractLatLonBoxSimpleExtension()
See Also:
abstractLatLonBoxSimpleExtension

getAbstractLatLonBoxObjectExtension

public java.util.List<AbstractObject> getAbstractLatLonBoxObjectExtension()
See Also:
abstractLatLonBoxObjectExtension

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractObject

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractObject

setAbstractLatLonBoxSimpleExtension

public void setAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
Parameters:
abstractLatLonBoxSimpleExtension -
See Also:
abstractLatLonBoxSimpleExtension

addToAbstractLatLonBoxSimpleExtension

public AbstractLatLonBox addToAbstractLatLonBoxSimpleExtension(java.lang.Object abstractLatLonBoxSimpleExtension)
add a value to the abstractLatLonBoxSimpleExtension property collection

Parameters:
abstractLatLonBoxSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

setAbstractLatLonBoxObjectExtension

public void setAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
Parameters:
abstractLatLonBoxObjectExtension -
See Also:
abstractLatLonBoxObjectExtension

addToAbstractLatLonBoxObjectExtension

public AbstractLatLonBox addToAbstractLatLonBoxObjectExtension(AbstractObject abstractLatLonBoxObjectExtension)
add a value to the abstractLatLonBoxObjectExtension property collection

Parameters:
abstractLatLonBoxObjectExtension - Objects of the following type are allowed in the list: AbstractObject
Returns:
true (as general contract of Collection.add).

setObjectSimpleExtension

public void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Overrides:
setObjectSimpleExtension in class AbstractObject
See Also:
objectSimpleExtension

addToObjectSimpleExtension

public AbstractLatLonBox addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
Description copied from class: AbstractObject
add a value to the objectSimpleExtension property collection

Overrides:
addToObjectSimpleExtension in class AbstractObject
Parameters:
objectSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

withNorth

public AbstractLatLonBox withNorth(double north)
fluent setter

Parameters:
north - required parameter
See Also:
setNorth(double)

withSouth

public AbstractLatLonBox withSouth(double south)
fluent setter

Parameters:
south - required parameter
See Also:
setSouth(double)

withEast

public AbstractLatLonBox withEast(double east)
fluent setter

Parameters:
east - required parameter
See Also:
setEast(double)

withWest

public AbstractLatLonBox withWest(double west)
fluent setter

Parameters:
west - required parameter
See Also:
setWest(double)

withAbstractLatLonBoxSimpleExtension

public AbstractLatLonBox withAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
fluent setter

Parameters:
abstractLatLonBoxSimpleExtension - required parameter
See Also:
#setAbstractLatLonBoxSimpleExtension(List)

withAbstractLatLonBoxObjectExtension

public AbstractLatLonBox withAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
fluent setter

Parameters:
abstractLatLonBoxObjectExtension - required parameter
See Also:
#setAbstractLatLonBoxObjectExtension(List)

withObjectSimpleExtension

public AbstractLatLonBox withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Description copied from class: AbstractObject
fluent setter

Overrides:
withObjectSimpleExtension in class AbstractObject
Parameters:
objectSimpleExtension - required parameter
See Also:
#setObjectSimpleExtension(List)

withId

public AbstractLatLonBox withId(java.lang.String id)
Description copied from class: AbstractObject
fluent setter

Overrides:
withId in class AbstractObject
Parameters:
id - required parameter
See Also:
AbstractObject.setId(String)

withTargetId

public AbstractLatLonBox withTargetId(java.lang.String targetId)
Description copied from class: AbstractObject
fluent setter

Overrides:
withTargetId in class AbstractObject
Parameters:
targetId - required parameter
See Also:
AbstractObject.setTargetId(String)

clone

public AbstractLatLonBox clone()
Overrides:
clone in class AbstractObject