|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.opengis.kml.v_2_3.AbstractObjectType
net.opengis.kml.v_2_3.AbstractExtentType
net.opengis.kml.v_2_3.AbstractLatLonBoxType
public abstract class AbstractLatLonBoxType
In KML 2.3, the allowed value range in decimal degrees used by kml:east and kml:west was extended by a factor of 2 (from ±180 in KML 2.2) to ±360. This was done in order to accommodate bounding boxes anywhere on the earth, including overlaps of the anti-meridian, and of any size up to full global coverage. With the extension of the longitude range, all degree values, except -360 = 0 = 360 (mod 360), have exactly two equivalent choices modulo 360, e.g. -359 = 1 (mod 360). The latitude range for kml:north and kml:south remain the same as in KML 2.2 and the following constraints C1 (i.e. the non-trivial latitude interval constraint) and C2 (i.e. the non-trivial longitude interval constraint) are unchanged: C1 kml:south < kml:north (non-trivial latitude interval); C2 kml:west < kml:east (non-trivial longitude interval). New constraints in KML 2.3 are introduced with the longitude range extension to avoid self overlaps and to preserve uniqueness of longitude interval values: C3 kml:east - kml:west ≤ 360 (non-self-overlap); C4 If (|kml:west| or |kml:east|) > 180, then kml:east > 0 and kml:west < 180 (uniqueness). The constraint C3 ensures that the longitude interval does not overlap itself. The constraint C4 ensures the choice of the kml:west and kml:east values are unique for every longitude interval. See also: kml:east, kml:west, kml:north, kml:south.
Java class for AbstractLatLonBoxType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractLatLonBoxType">
<complexContent>
<extension base="{http://www.opengis.net/kml/2.2}AbstractExtentType">
<all>
<element ref="{http://www.opengis.net/kml/2.2}north" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}south" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}east" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}west" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}AbstractLatLonBoxSimpleExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}AbstractLatLonBoxObjectExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
</all>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<AbstractObjectType> |
abstractLatLonBoxObjectExtensionGroup
|
protected List<Object> |
abstractLatLonBoxSimpleExtensionGroup
|
protected Double |
east
|
protected Double |
north
|
protected Double |
south
|
protected Double |
west
|
| Fields inherited from class net.opengis.kml.v_2_3.AbstractExtentType |
|---|
abstractExtentObjectExtensionGroup, abstractExtentSimpleExtensionGroup |
| Fields inherited from class net.opengis.kml.v_2_3.AbstractObjectType |
|---|
id, objectSimpleExtensionGroup, targetId |
| Constructor Summary | |
|---|---|
AbstractLatLonBoxType()
|
|
| Methods inherited from class net.opengis.kml.v_2_3.AbstractObjectType |
|---|
getId, getObjectSimpleExtensionGroup, getOtherAttributes, getTargetId, isSetId, isSetObjectSimpleExtensionGroup, isSetTargetId, setId, setObjectSimpleExtensionGroup, setTargetId, unsetObjectSimpleExtensionGroup |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jvnet.jaxb2_commons.lang.CopyTo2 |
|---|
createNewInstance |
| Methods inherited from interface org.jvnet.jaxb2_commons.lang.MergeFrom2 |
|---|
createNewInstance |
| Field Detail |
|---|
protected Double north
protected Double south
protected Double east
protected Double west
protected List<Object> abstractLatLonBoxSimpleExtensionGroup
protected List<AbstractObjectType> abstractLatLonBoxObjectExtensionGroup
| Constructor Detail |
|---|
public AbstractLatLonBoxType()
| Method Detail |
|---|
public Double getNorth()
Doublepublic void setNorth(Double value)
value - allowed object is
Doublepublic boolean isSetNorth()
public Double getSouth()
Doublepublic void setSouth(Double value)
value - allowed object is
Doublepublic boolean isSetSouth()
public Double getEast()
Doublepublic void setEast(Double value)
value - allowed object is
Doublepublic boolean isSetEast()
public Double getWest()
Doublepublic void setWest(Double value)
value - allowed object is
Doublepublic boolean isSetWest()
public List<Object> getAbstractLatLonBoxSimpleExtensionGroup()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the abstractLatLonBoxSimpleExtensionGroup property.
For example, to add a new item, do as follows:
getAbstractLatLonBoxSimpleExtensionGroup().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public boolean isSetAbstractLatLonBoxSimpleExtensionGroup()
public void unsetAbstractLatLonBoxSimpleExtensionGroup()
public List<AbstractObjectType> getAbstractLatLonBoxObjectExtensionGroup()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the abstractLatLonBoxObjectExtensionGroup property.
For example, to add a new item, do as follows:
getAbstractLatLonBoxObjectExtensionGroup().add(newItem);
Objects of the following type(s) are allowed in the list
AbstractObjectType
public boolean isSetAbstractLatLonBoxObjectExtensionGroup()
public void unsetAbstractLatLonBoxObjectExtensionGroup()
public String toString()
toString in class AbstractExtentType
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2append in class AbstractExtentType
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2appendFields in class AbstractExtentType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class AbstractExtentTypepublic boolean equals(Object object)
equals in class AbstractExtentType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class AbstractExtentTypepublic int hashCode()
hashCode in class AbstractExtentTypepublic Object clone()
clone in class AbstractExtentTypepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractExtentType
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractExtentType
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractExtentType
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractExtentTypepublic void setAbstractLatLonBoxSimpleExtensionGroup(List<Object> value)
public void setAbstractLatLonBoxObjectExtensionGroup(List<AbstractObjectType> value)
public AbstractLatLonBoxType withNorth(Double value)
public AbstractLatLonBoxType withSouth(Double value)
public AbstractLatLonBoxType withEast(Double value)
public AbstractLatLonBoxType withWest(Double value)
public AbstractLatLonBoxType withAbstractLatLonBoxSimpleExtensionGroup(Object... values)
public AbstractLatLonBoxType withAbstractLatLonBoxSimpleExtensionGroup(Collection<Object> values)
public AbstractLatLonBoxType withAbstractLatLonBoxObjectExtensionGroup(AbstractObjectType... values)
public AbstractLatLonBoxType withAbstractLatLonBoxObjectExtensionGroup(Collection<AbstractObjectType> values)
public AbstractLatLonBoxType withAbstractLatLonBoxSimpleExtensionGroup(List<Object> value)
public AbstractLatLonBoxType withAbstractLatLonBoxObjectExtensionGroup(List<AbstractObjectType> value)
public AbstractLatLonBoxType withAbstractExtentSimpleExtensionGroup(Object... values)
withAbstractExtentSimpleExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withAbstractExtentSimpleExtensionGroup(Collection<Object> values)
withAbstractExtentSimpleExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withAbstractExtentObjectExtensionGroup(AbstractObjectType... values)
withAbstractExtentObjectExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withAbstractExtentObjectExtensionGroup(Collection<AbstractObjectType> values)
withAbstractExtentObjectExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withAbstractExtentSimpleExtensionGroup(List<Object> value)
withAbstractExtentSimpleExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withAbstractExtentObjectExtensionGroup(List<AbstractObjectType> value)
withAbstractExtentObjectExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withObjectSimpleExtensionGroup(Object... values)
withObjectSimpleExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withObjectSimpleExtensionGroup(Collection<Object> values)
withObjectSimpleExtensionGroup in class AbstractExtentTypepublic AbstractLatLonBoxType withId(String value)
withId in class AbstractExtentTypepublic AbstractLatLonBoxType withTargetId(String value)
withTargetId in class AbstractExtentTypepublic AbstractLatLonBoxType withObjectSimpleExtensionGroup(List<Object> value)
withObjectSimpleExtensionGroup in class AbstractExtentType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||