Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.graphics.api
Interface IWDGeoCoder


public interface IWDGeoCoder

Provides a java interface to retrieve geo positions from adresses. GEO CODING IS ONLY FUNCTIONAL IF AN IGS WITH ADDITIONAL GEO-SERVICES IS INSTALLED.


Method Summary
 void addAddress(java.lang.String id, WDGeoCoderAddress address)
          Adds an address that is to be geocoded
 void clearAddresses()
          Clears all addresses that were to be geocoded
 void clearAll()
          Clears all addresses, minScore and maxCandidates etc.
 boolean execute()
          Triggers an igs call.
 java.lang.String getErrors()
          Returns the errors that were detected during the igs request as a string.
 java.util.List getResultAddresses(java.lang.String id)
          Returns a vector of geocoded result addresses
 void setIgsUrl(java.net.URL igsURL)
          Set the URL of the IGS that provides the GIS services
 void setMaxCandidates(int maxCandidates)
           
 void setMinScore(int minScore)
           
 

Method Detail

setIgsUrl

public void setIgsUrl(java.net.URL igsURL)
Set the URL of the IGS that provides the GIS services

execute

public boolean execute()
Triggers an igs call.
Returns:
true if an geo position was generated

setMaxCandidates

public void setMaxCandidates(int maxCandidates)

setMinScore

public void setMinScore(int minScore)

addAddress

public void addAddress(java.lang.String id,
                       WDGeoCoderAddress address)
                throws WDException
Adds an address that is to be geocoded

clearAddresses

public void clearAddresses()
Clears all addresses that were to be geocoded

clearAll

public void clearAll()
Clears all addresses, minScore and maxCandidates etc.

getResultAddresses

public java.util.List getResultAddresses(java.lang.String id)
Returns a vector of geocoded result addresses

getErrors

public java.lang.String getErrors()
Returns the errors that were detected during the igs request as a string.

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15