NASA World Wind

gov.nasa.worldwind.data
Class AbstractDataStoreProducer

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.data.AbstractDataStoreProducer
All Implemented Interfaces:
AVList, DataStoreProducer, WWObject, PropertyChangeListener, EventListener
Direct Known Subclasses:
TiledRasterProducer, WWDotNetLayerSetInstaller

public abstract class AbstractDataStoreProducer
extends WWObjectImpl
implements DataStoreProducer


Field Summary
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Constructor Summary
AbstractDataStoreProducer()
           
 
Method Summary
 boolean acceptsDataSource(DataSource dataSource)
           
 boolean containsDataSource(DataSource dataSource)
           
protected abstract  void doStartProduction(AVList parameters)
           
protected  List<DataSource> getDataSourceList()
           
 Iterable<DataSource> getDataSources()
           
 Iterable<?> getProductionResults()
           
protected  List<Object> getProductionResultsList()
           
 AVList getStoreParameters()
           
protected  boolean isStopped()
           
 void offerAllDataSources(Collection<? extends DataSource> dataSources)
           
 void offerDataSource(DataSource dataSource)
           
 void removeAllDataSources()
           
 void removeDataSource(DataSource dataSource)
           
 void removeProductionState()
           
 void setStoreParameters(AVList parameters)
           
 void startProduction()
           
 void stopProduction()
           
protected abstract  String validateDataSource(DataSource dataSource)
           
protected abstract  String validateProductionParameters(AVList parameters)
           
 
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
propertyChange
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, 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.data.DataStoreProducer
getDataSourceDescription
 
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
 

Constructor Detail

AbstractDataStoreProducer

public AbstractDataStoreProducer()
Method Detail

acceptsDataSource

public boolean acceptsDataSource(DataSource dataSource)
Specified by:
acceptsDataSource in interface DataStoreProducer

containsDataSource

public boolean containsDataSource(DataSource dataSource)
Specified by:
containsDataSource in interface DataStoreProducer

doStartProduction

protected abstract void doStartProduction(AVList parameters)
                                   throws Exception
Throws:
Exception

getDataSourceList

protected List<DataSource> getDataSourceList()

getDataSources

public Iterable<DataSource> getDataSources()
Specified by:
getDataSources in interface DataStoreProducer

getProductionResults

public Iterable<?> getProductionResults()
Specified by:
getProductionResults in interface DataStoreProducer

getProductionResultsList

protected List<Object> getProductionResultsList()

getStoreParameters

public AVList getStoreParameters()
Specified by:
getStoreParameters in interface DataStoreProducer

isStopped

protected boolean isStopped()

offerAllDataSources

public void offerAllDataSources(Collection<? extends DataSource> dataSources)
Specified by:
offerAllDataSources in interface DataStoreProducer

offerDataSource

public void offerDataSource(DataSource dataSource)
Specified by:
offerDataSource in interface DataStoreProducer

removeAllDataSources

public void removeAllDataSources()
Specified by:
removeAllDataSources in interface DataStoreProducer

removeDataSource

public void removeDataSource(DataSource dataSource)
Specified by:
removeDataSource in interface DataStoreProducer

removeProductionState

public void removeProductionState()
Specified by:
removeProductionState in interface DataStoreProducer

setStoreParameters

public void setStoreParameters(AVList parameters)
Specified by:
setStoreParameters in interface DataStoreProducer

startProduction

public void startProduction()
                     throws Exception
Specified by:
startProduction in interface DataStoreProducer
Throws:
Exception

stopProduction

public void stopProduction()
Specified by:
stopProduction in interface DataStoreProducer

validateDataSource

protected abstract String validateDataSource(DataSource dataSource)

validateProductionParameters

protected abstract String validateProductionParameters(AVList parameters)

NASA World Wind