public class FirstPlacemarkWinsGoogleResponseParser extends Object implements GeolocationResponseParser<MapLocationData>
GeolocationResponseParser that parses google geo-location response Document into a
MapLocationData object. It uses a first win strategy, so the first placemark in the response is parsed.| Constructor and Description |
|---|
FirstPlacemarkWinsGoogleResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
MapLocationData |
extractData(ClientHttpResponse response) |
MapLocationData |
parseResponseDocument(Document response)
Returns a simple response object from XML based service response
Document. |
public FirstPlacemarkWinsGoogleResponseParser()
public MapLocationData parseResponseDocument(Document response)
GeolocationResponseParserDocument.parseResponseDocument in interface GeolocationResponseParser<MapLocationData>public MapLocationData extractData(ClientHttpResponse response) throws IOException
IOExceptionCopyright © 2017 SAP SE. All Rights Reserved.