|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the functionality of a geocoder: computing lat/lon coordinates for an address. Any class implementing this interface should be thread-safe.
Field Summary | |
static java.lang.String |
MATCH_MODE_NORMAL |
static java.lang.String |
MATCH_MODE_RELAXED |
static java.lang.String |
MATCH_MODE_STANDARD |
static java.lang.String |
MATCH_MODE_TIGHT |
Method Summary | |
Location[] |
geocodeAddress(Location inp, java.lang.String matchMode) This returns an array of Location objects with the geocoded result. |
Location[][] |
geocodeAddresses(Location[] inp, java.lang.String matchMode) Bulk geocoding for an array of addresses. |
Location |
geocodeTelephone(java.lang.String tel, boolean requestLatLon) This function geocodes a telephone number. |
Location[] |
geocodeTelephones(java.lang.String[] tel, boolean requestLatLon) This function bulk-geocodes telephone numbers. |
Location[] |
reverseGeocodePoint(Point pt) This function reverse geocodes a point to result in a matching address. |
Location[][] |
reverseGeocodePoints(Point[] pt) This function reverse bulk-geocodes points to result in matching addresses. |
java.lang.String[] |
reverseGeocodeTelephone(Location addressWithName) This function reverse geocodes an address - thus finds a telephone numbers for this address. |
java.lang.String[][] |
reverseGeocodeTelephones(Location[] addressWithName) This function reverse bulk-geocodes addresses - thus finds telephone numbers for addresses. |
java.lang.String |
xmlGeocode(org.w3c.dom.Document xmlRequest) This function performs geocoding based on an XML request (eLocation XML). |
Field Detail |
public static final java.lang.String MATCH_MODE_NORMAL
public static final java.lang.String MATCH_MODE_STANDARD
public static final java.lang.String MATCH_MODE_TIGHT
public static final java.lang.String MATCH_MODE_RELAXED
Method Detail |
public Location[] geocodeAddress(Location inp, java.lang.String matchMode)
inp
- a Location object representing an address to be geocodedmatchMode
- a String representing the requested matchmodepublic Location[][] geocodeAddresses(Location[] inp, java.lang.String matchMode)
inp
- an array of Location objects representing addresses to be geocodedmatchMode
- a String representing the requested matchmodepublic Location[] reverseGeocodePoint(Point pt)
pt
- a Point representing the location for which to find an addresspublic Location[][] reverseGeocodePoints(Point[] pt)
pt
- an array of Point representing the locations for which to find addressespublic java.lang.String xmlGeocode(org.w3c.dom.Document xmlRequest)
xmlRequest
- a Document object representing the XMl document of the geocoding request.public Location geocodeTelephone(java.lang.String tel, boolean requestLatLon)
tel
- a String representing the telephone number to geocoderequestLatLon
- a boolean representing whether the actual lat/lon geocode is requested or just the textual addresspublic Location[] geocodeTelephones(java.lang.String[] tel, boolean requestLatLon)
tel
- an array of String representing the telephone numbers to geocoderequestLatLon
- a boolean representing whether the actual lat/lon geocode is requested or just the textual addresspublic java.lang.String[] reverseGeocodeTelephone(Location addressWithName)
addressWithName
- a Location representing the address to find a telephone number forpublic java.lang.String[][] reverseGeocodeTelephones(Location[] addressWithName)
addressWithName
- an array of Locations representing the addresses to find telephone numbers for
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |