com.esri.arcgis.carto
Interface IDataLayerExtension

All Superinterfaces:
Serializable
All Known Implementing Classes:
Basic3DProperties, Feature3DProperties, GlobeLayerProperties, Raster3DProperties, Tin3DProperties

public interface IDataLayerExtension
extends Serializable

Provides access to members that allow a layer to override the base path used for relative path names.

Remarks

Extends IDataLayer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 boolean connect(IName pOptRepairName)
          Connects the layer to its data source.
 String getRelativeBase()
          Base path used when storing relative path names.
 void setRelativeBase(String basePath)
          Base path used when storing relative path names.
 

Method Detail

getRelativeBase

String getRelativeBase()
                       throws IOException,
                              AutomationException
Base path used when storing relative path names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The basePath
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelativeBase

void setRelativeBase(String basePath)
                     throws IOException,
                            AutomationException
Base path used when storing relative path names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
basePath - The basePath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

connect

boolean connect(IName pOptRepairName)
                throws IOException,
                       AutomationException
Connects the layer to its data source. An optional name object can be specified to aid in repairing a lost connection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pOptRepairName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
The succeeded
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.