| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataLayer
Provides access to members that control the data source properties of a layer.
This
interface provides access to information about the data source of
the layer including: the data source name, the base path used in
relative pathnames, and whether the layer supports the data source.
There is also a method to connect to the data source if the
connection has been lost.
| Method Summary | |
|---|---|
 boolean | 
connect(IName pOptRepairName)
Connects the layer to its data source.  | 
 IName | 
getDataSourceName()
Name of the data object for the layer.  | 
 String | 
getRelativeBase()
Base path used when storing relative path names.  | 
 boolean | 
isDataSourceSupported(IName name)
Indicates if the specified data object name is supported by the layer.  | 
 void | 
setDataSourceName(IName name)
Name of the data object for the layer.  | 
 void | 
setRelativeBase(String basePath)
Base path used when storing relative path names.  | 
| Method Detail | 
|---|
IName getDataSourceName()
                        throws IOException,
                               AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setDataSourceName(IName name)
                       throws IOException,
                              AutomationException
name - A reference to a com.esri.arcgis.system.IName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isDataSourceSupported(IName name)
                              throws IOException,
                                     AutomationException
name - A reference to a com.esri.arcgis.system.IName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean connect(IName pOptRepairName)
                throws IOException,
                       AutomationException
pOptRepairName - A reference to a com.esri.arcgis.system.IName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getRelativeBase()
                       throws IOException,
                              AutomationException
The RelativeBase property is used internally when persisting and loading documents with a relative path. When a document has been fully loaded the path is realized to a complete path.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setRelativeBase(String basePath)
                     throws IOException,
                            AutomationException
basePath - The basePath  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||