NASA World Wind

gov.nasa.worldwind.layers.placename
Class PlaceNameServiceSet

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.layers.placename.PlaceNameServiceSet
All Implemented Interfaces:
AVList, MessageListener, WWObject, PropertyChangeListener, EventListener

public class PlaceNameServiceSet
extends WWObjectImpl
implements AVList


Constructor Summary
PlaceNameServiceSet()
           
 
Method Summary
 boolean addService(PlaceNameService placeNameService, boolean replace)
          Add a service to the service set.
 PlaceNameServiceSet deepCopy()
           
 long getExpiryTime()
           
 PlaceNameService getService(int index)
           
 PlaceNameService getService(String name)
           
 int getServiceCount()
           
 List<PlaceNameService> getServices()
           
 void setExpiryTime(long expiryTime)
           
 
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

PlaceNameServiceSet

public PlaceNameServiceSet()
Method Detail

addService

public boolean addService(PlaceNameService placeNameService,
                          boolean replace)
Add a service to the service set.

Parameters:
placeNameService - Service to add. May not be null.
replace - true if the service may replace an equivalent service already in the set. false if the service may not replace a service already in the set.
Returns:
true if the service was added to the service set, or if the service replaced an existing item in the service set. Returns false if the set was not changed.
Throws:
IllegalArgumentException - if placeNameService is null

deepCopy

public PlaceNameServiceSet deepCopy()

getExpiryTime

public final long getExpiryTime()

getService

public final PlaceNameService getService(int index)

getService

public PlaceNameService getService(String name)

getServiceCount

public final int getServiceCount()

getServices

public List<PlaceNameService> getServices()

setExpiryTime

public final void setExpiryTime(long expiryTime)

NASA World Wind