Class GeocodeResponse.Result.Geometry
java.lang.Object
slash.navigation.googlemaps.geocode.GeocodeResponse.Result.Geometry
- Enclosing class:
GeocodeResponse.Result
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="location">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="location_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="viewport">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="southwest">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="northeast">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="bounds" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="southwest">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="northeast">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GeocodeResponse.Result.Geometry.Boundsprotected GeocodeResponse.Result.Geometry.Locationprotected Stringprotected GeocodeResponse.Result.Geometry.Viewport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bounds property.Gets the value of the location property.Gets the value of the locationType property.Gets the value of the viewport property.voidSets the value of the bounds property.voidSets the value of the location property.voidsetLocationType(String value) Sets the value of the locationType property.voidSets the value of the viewport property.
-
Field Details
-
location
-
locationType
-
viewport
-
bounds
-
-
Constructor Details
-
Geometry
public Geometry()
-
-
Method Details
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
GeocodeResponse.Result.Geometry.Location
-
getLocationType
Gets the value of the locationType property.- Returns:
- possible object is
String
-
setLocationType
Sets the value of the locationType property.- Parameters:
value- allowed object isString
-
getViewport
Gets the value of the viewport property.- Returns:
- possible object is
GeocodeResponse.Result.Geometry.Viewport
-
getBounds
Gets the value of the bounds property.- Returns:
- possible object is
GeocodeResponse.Result.Geometry.Bounds
-