Class YahooGazetteer
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
- 
- gov.nasa.worldwindx.applications.worldwindow.features.YahooGazetteer
 
 
 
- 
- All Implemented Interfaces:
- Gazetteer,- Initializable,- Feature,- java.awt.event.ActionListener,- java.beans.PropertyChangeListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 
 public class YahooGazetteer extends AbstractFeature implements Gazetteer - See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeaturecontroller, featureID
 
- 
 - 
Constructor SummaryConstructors Constructor Description YahooGazetteer()YahooGazetteer(Registry registry)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PointOfInterest>findPlaces(java.lang.String placeInfo)Find places identified in a string of free text.voidinitialize(Controller controller)- 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeatureactionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
 - 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Constructor Detail- 
YahooGazetteerpublic YahooGazetteer() 
 - 
YahooGazetteerpublic YahooGazetteer(Registry registry) 
 
- 
 - 
Method Detail- 
initializepublic void initialize(Controller controller) - Specified by:
- initializein interface- Initializable
- Overrides:
- initializein class- AbstractFeature
 
 - 
findPlacespublic java.util.List<PointOfInterest> findPlaces(java.lang.String placeInfo) throws NoItemException, ServiceException Description copied from interface:GazetteerFind places identified in a string of free text.- Specified by:
- findPlacesin interface- Gazetteer
- 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.
 
 
- 
 
-