Class GeocodeResponse
java.lang.Object
slash.navigation.googlemaps.geocode.GeocodeResponse
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="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="result" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="formatted_address" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="address_component" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="long_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="short_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="geometry">
<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>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
status
-
result
-
-
Constructor Details
-
GeocodeResponse
public GeocodeResponse()
-
-
Method Details
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
String
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isString
-
getResult
Gets the value of the result property.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
setmethod for the result property.For example, to add a new item, do as follows:
getResult().add(newItem);Objects of the following type(s) are allowed in the list
GeocodeResponse.Result
-