| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GEOCODE_SERVICE |
| Constructor and Description |
|---|
YahooGazetteer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PointOfInterest> |
findPlaces(java.lang.String lookupString)
Find places identified in a string of free text.
|
protected boolean |
isNumber(java.lang.String lookupString) |
protected java.util.ArrayList<PointOfInterest> |
parseLocationString(java.lang.String locationString) |
protected static final java.lang.String GEOCODE_SERVICE
public java.util.List<PointOfInterest> findPlaces(java.lang.String lookupString) throws NoItemException, ServiceException
GazetteerfindPlaces in interface GazetteerlookupString - a string containing the place description.NoItemException - if the place description cannot be matched.ServiceException - if the lookup service is not available or invocation of it fails.protected boolean isNumber(java.lang.String lookupString)
protected java.util.ArrayList<PointOfInterest> parseLocationString(java.lang.String locationString) throws WWRuntimeException
WWRuntimeException