Package gov.nasa.worldwind.data
Class AbstractDataStoreProducer
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.data.AbstractDataStoreProducer
-
- All Implemented Interfaces:
AVList
,DataStoreProducer
,MessageListener
,WWObject
,java.beans.PropertyChangeListener
,java.util.EventListener
- Direct Known Subclasses:
TiledRasterProducer
,WWDotNetLayerSetConverter
public abstract class AbstractDataStoreProducer extends WWObjectImpl implements DataStoreProducer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractDataStoreProducer.SourceInfo
-
Field Summary
Fields Modifier and Type Field Description protected AVList
productionParams
-
Constructor Summary
Constructors Constructor Description AbstractDataStoreProducer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
acceptsDataSource(java.lang.Object source, AVList params)
boolean
containsDataSource(java.lang.Object source)
protected abstract void
doStartProduction(AVList parameters)
protected java.util.List<AbstractDataStoreProducer.SourceInfo>
getDataSourceList()
java.lang.Iterable<java.lang.Object>
getDataSources()
AVList
getProductionParameters()
java.lang.Iterable<?>
getProductionResults()
protected java.util.List<java.lang.Object>
getProductionResultsList()
AVList
getStoreParameters()
protected boolean
isStopped()
void
offerAllDataSources(java.lang.Iterable<?> sources)
void
offerDataSource(java.lang.Object source, AVList params)
void
removeAllDataSources()
void
removeDataSource(java.lang.Object source)
void
removeProductionState()
void
setStoreParameters(AVList parameters)
void
startProduction()
void
stopProduction()
protected abstract java.lang.String
validateDataSource(java.lang.Object source, AVList params)
protected abstract java.lang.String
validateProductionParameters(AVList parameters)
-
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, 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
-
Methods inherited from interface gov.nasa.worldwind.data.DataStoreProducer
getDataSourceDescription
-
Methods inherited from interface gov.nasa.worldwind.event.MessageListener
onMessage
-
-
-
-
Field Detail
-
productionParams
protected AVList productionParams
-
-
Method Detail
-
getProductionParameters
public AVList getProductionParameters()
- Specified by:
getProductionParameters
in interfaceDataStoreProducer
-
getStoreParameters
public AVList getStoreParameters()
- Specified by:
getStoreParameters
in interfaceDataStoreProducer
-
setStoreParameters
public void setStoreParameters(AVList parameters)
- Specified by:
setStoreParameters
in interfaceDataStoreProducer
-
getDataSources
public java.lang.Iterable<java.lang.Object> getDataSources()
- Specified by:
getDataSources
in interfaceDataStoreProducer
-
acceptsDataSource
public boolean acceptsDataSource(java.lang.Object source, AVList params)
- Specified by:
acceptsDataSource
in interfaceDataStoreProducer
-
containsDataSource
public boolean containsDataSource(java.lang.Object source)
- Specified by:
containsDataSource
in interfaceDataStoreProducer
-
offerDataSource
public void offerDataSource(java.lang.Object source, AVList params)
- Specified by:
offerDataSource
in interfaceDataStoreProducer
-
offerAllDataSources
public void offerAllDataSources(java.lang.Iterable<?> sources)
- Specified by:
offerAllDataSources
in interfaceDataStoreProducer
-
removeDataSource
public void removeDataSource(java.lang.Object source)
- Specified by:
removeDataSource
in interfaceDataStoreProducer
-
removeAllDataSources
public void removeAllDataSources()
- Specified by:
removeAllDataSources
in interfaceDataStoreProducer
-
startProduction
public void startProduction() throws java.lang.Exception
- Specified by:
startProduction
in interfaceDataStoreProducer
- Throws:
java.lang.Exception
-
stopProduction
public void stopProduction()
- Specified by:
stopProduction
in interfaceDataStoreProducer
-
isStopped
protected boolean isStopped()
-
getProductionResults
public java.lang.Iterable<?> getProductionResults()
- Specified by:
getProductionResults
in interfaceDataStoreProducer
-
removeProductionState
public void removeProductionState()
- Specified by:
removeProductionState
in interfaceDataStoreProducer
-
getDataSourceList
protected java.util.List<AbstractDataStoreProducer.SourceInfo> getDataSourceList()
-
getProductionResultsList
protected java.util.List<java.lang.Object> getProductionResultsList()
-
doStartProduction
protected abstract void doStartProduction(AVList parameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
validateProductionParameters
protected abstract java.lang.String validateProductionParameters(AVList parameters)
-
validateDataSource
protected abstract java.lang.String validateDataSource(java.lang.Object source, AVList params)
-
-