NASA World Wind

gov.nasa.worldwind.poi
Interface Gazetteer

All Superinterfaces:
AVList, EventListener, PropertyChangeListener, WWObject
All Known Implementing Classes:
YahooGazetteer

public interface Gazetteer
extends WWObject

Interface to gazetteers.


Method Summary
 List<PointOfInterest> findPlaces(String placeInfo)
          Find places identified in a string of free text.
 
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Method Detail

findPlaces

List<PointOfInterest> findPlaces(String placeInfo)
                                 throws NoItemException,
                                        ServiceException
Find places identified in a string of free text.

Parameters:
placeInfo - a string containing the place description.
Returns:
the points-of-interest that match the place description.
Throws:
NoItemException - if the place description cannot be matched.
ServiceException - if the lookup service is not available or invocation of it fails.

NASA World Wind