com.esri.core.internal.value
Class LayerDataSource

java.lang.Object
  extended by com.esri.core.internal.value.LayerSource
      extended by com.esri.core.internal.value.LayerDataSource

public class LayerDataSource
extends LayerSource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.core.internal.value.LayerSource
LayerSource.LayerType
 
Constructor Summary
LayerDataSource()
          Instantiates a new layer data source.
 
Method Summary
 DataSource getDataSource()
          Gets the data source.
 void setDataSource(DataSource dataSource)
          Sets the data source.
 String toJson()
           
 
Methods inherited from class com.esri.core.internal.value.LayerSource
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerDataSource

public LayerDataSource()
Instantiates a new layer data source.

Method Detail

getDataSource

public DataSource getDataSource()
Gets the data source.

Returns:
the data source

setDataSource

public void setDataSource(DataSource dataSource)
Sets the data source.

Parameters:
dataSource - the new data source

toJson

public String toJson()
              throws IOException
Specified by:
toJson in class LayerSource
Throws:
IOException


Copyright © 2012. All Rights Reserved.