public abstract class TilesetRealspaceProvider extends RealspaceProviderBase implements ProviderContextAware
The base class of the 3D service provider implemented based on tile set.
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RealspaceDataAdapter> |
realspaceDataAdapters |
Constructor and Description |
---|
TilesetRealspaceProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheAccessKey()
Returns the password used to encrypt the cached data.
|
RealspaceDataResult |
getData(RealspaceDataParam dataParam)
Gets 3D tile data results.
|
byte[] |
getDataConfig(java.lang.String dataName)
Gets the configuration file for the 3D cache data by name.
|
byte[] |
getDataConfig(java.lang.String dataName, CompressType compressType)
Gets the configuration file for the 3D cache data by name.
|
java.util.List<RealspaceDataInfo> |
getDataInfos()
Gets all the 3D data of the current Provider.
|
java.util.List<java.lang.String> |
getSceneNames()
Gets the names of all available 3D scenes in the current service provider.
|
protected void |
init(Tileset<?,?>[] tilesets, java.lang.String... tilesetNames)
Initializes the tile set.
|
boolean |
isDataAvailable(java.lang.String dataName)
Whether the three-dimensional data is available.
|
boolean |
isSecurityEnabled()
Whether the security mechanism is enabled.
|
cleanCacheData, getData, getDataVersion, getDataVersion, getLayerExtendXML, getLayerPrj, getModelIndex, getOfflineDataPaths, getSceneInfo, getTilesRevisionInfo, getVectorIndex, isSceneAvailable, outputDataToMemory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setProviderContext
protected java.util.List<RealspaceDataAdapter> realspaceDataAdapters
protected void init(Tileset<?,?>[] tilesets, java.lang.String... tilesetNames)
public java.lang.String getCacheAccessKey()
RealspaceProvider
getCacheAccessKey
in interface RealspaceProvider
getCacheAccessKey
in class RealspaceProviderBase
public java.util.List<java.lang.String> getSceneNames() throws RealspaceException
RealspaceProvider
getSceneNames
in interface RealspaceProvider
getSceneNames
in class RealspaceProviderBase
RealspaceException
- 3D exception information.public RealspaceDataResult getData(RealspaceDataParam dataParam) throws RealspaceException
RealspaceProvider
getData
in interface RealspaceProvider
getData
in class RealspaceProviderBase
dataParam
- Tile parameters.RealspaceException
public byte[] getDataConfig(java.lang.String dataName) throws RealspaceException
RealspaceProvider
getDataConfig
in interface RealspaceProvider
getDataConfig
in class RealspaceProviderBase
dataName
- The name of the 3D data. Corresponds to the name of the 3D layer in the SuperMap 3D scene (LayerName).RealspaceException
- 3D exception information.public byte[] getDataConfig(java.lang.String dataName, CompressType compressType) throws RealspaceException
RealspaceProvider
getDataConfig
in interface RealspaceProvider
getDataConfig
in class RealspaceProviderBase
dataName
- The name of the 3D data. Corresponds to the name of the 3D layer in the SuperMap 3D scene (LayerName).RealspaceException
- 3D exception information.public java.util.List<RealspaceDataInfo> getDataInfos() throws RealspaceException
RealspaceProvider
getDataInfos
in interface RealspaceProvider
getDataInfos
in class RealspaceProviderBase
RealspaceException
- 3D exception information.public boolean isDataAvailable(java.lang.String dataName) throws RealspaceException
RealspaceProvider
isDataAvailable
in interface RealspaceProvider
isDataAvailable
in class RealspaceProviderBase
dataName
- The name of the 3D data. Corresponds to the name of the 3D layer in the SuperMap 3D scene (LayerName).RealspaceException
- 3D exception information.public boolean isSecurityEnabled()
RealspaceProvider
isSecurityEnabled
in interface RealspaceProvider
isSecurityEnabled
in class RealspaceProviderBase