NASA World Wind

gov.nasa.worldwind.data
Class WWDotNetLayerSetConverter

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.data.AbstractDataStoreProducer
              extended by gov.nasa.worldwind.data.WWDotNetLayerSetConverter
All Implemented Interfaces:
AVList, DataStoreProducer, MessageListener, WWObject, PropertyChangeListener, EventListener

public class WWDotNetLayerSetConverter
extends AbstractDataStoreProducer


Nested Class Summary
protected static class WWDotNetLayerSetConverter.ProductionState
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
AbstractDataStoreProducer.SourceInfo
 
Field Summary
protected static String DEFAULT_IMAGE_FORMAT
           
protected static String DEFAULT_TEXTURE_FORMAT
           
 
Fields inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
productionParams
 
Constructor Summary
WWDotNetLayerSetConverter()
           
 
Method Summary
protected  void convertLayerSet(Object source, WWDotNetLayerSetConverter.ProductionState productionState)
           
protected  Document createDestConfigDoc(Document layerSetDoc, AVList installParams)
           
protected  void doStartProduction(AVList parameters)
           
 String getDataSourceDescription()
           
protected  File getDestConfigFile(AVList installParams)
           
protected  File getSourceConfigFile(Object source)
           
protected  void initProductionParameters(AVList params, WWDotNetLayerSetConverter.ProductionState productionState)
           
protected  Document readLayerSetDocument(Object source)
           
protected  void removeLayerSet(Object source, AVList params)
           
 void removeProductionState()
           
protected  void setProgressParameters(Iterable<?> dataSources, WWDotNetLayerSetConverter.ProductionState productionState)
           
protected  String validateDataSource(Object source, AVList params)
           
protected  String validateProductionParameters(AVList parameters)
           
 
Methods inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
acceptsDataSource, containsDataSource, getDataSourceList, getDataSources, getProductionParameters, getProductionResults, getProductionResultsList, getStoreParameters, isStopped, offerAllDataSources, offerDataSource, removeAllDataSources, removeDataSource, setStoreParameters, startProduction, stopProduction
 
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
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 
Methods inherited from interface gov.nasa.worldwind.event.MessageListener
onMessage
 

Field Detail

DEFAULT_IMAGE_FORMAT

protected static final String DEFAULT_IMAGE_FORMAT
See Also:
Constant Field Values

DEFAULT_TEXTURE_FORMAT

protected static final String DEFAULT_TEXTURE_FORMAT
See Also:
Constant Field Values
Constructor Detail

WWDotNetLayerSetConverter

public WWDotNetLayerSetConverter()
Method Detail

convertLayerSet

protected void convertLayerSet(Object source,
                               WWDotNetLayerSetConverter.ProductionState productionState)
                        throws Exception
Throws:
Exception

createDestConfigDoc

protected Document createDestConfigDoc(Document layerSetDoc,
                                       AVList installParams)

doStartProduction

protected void doStartProduction(AVList parameters)
                          throws Exception
Specified by:
doStartProduction in class AbstractDataStoreProducer
Throws:
Exception

getDataSourceDescription

public String getDataSourceDescription()

getDestConfigFile

protected File getDestConfigFile(AVList installParams)

getSourceConfigFile

protected File getSourceConfigFile(Object source)

initProductionParameters

protected void initProductionParameters(AVList params,
                                        WWDotNetLayerSetConverter.ProductionState productionState)

readLayerSetDocument

protected Document readLayerSetDocument(Object source)

removeLayerSet

protected void removeLayerSet(Object source,
                              AVList params)

removeProductionState

public void removeProductionState()
Specified by:
removeProductionState in interface DataStoreProducer
Overrides:
removeProductionState in class AbstractDataStoreProducer

setProgressParameters

protected void setProgressParameters(Iterable<?> dataSources,
                                     WWDotNetLayerSetConverter.ProductionState productionState)

validateDataSource

protected String validateDataSource(Object source,
                                    AVList params)
Specified by:
validateDataSource in class AbstractDataStoreProducer

validateProductionParameters

protected String validateProductionParameters(AVList parameters)
Specified by:
validateProductionParameters in class AbstractDataStoreProducer

NASA World Wind