|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILocatorManager
Provides access to members for manipulating located datasets and locator workspaces.
Use the ILocatorManager interface to open locator workspaces, and to retrieve AttachedLocators from datasets.
ILocatorWorkspace2
,
ILocatorManager2
,
AttachedLocator
,
DatabaseLocatorWorkspace
,
IAttachedLocator
,
ILocatorWorkspace
,
ILocatorManager.getLocatorWorkspaceFromPath(String)
,
LocatorEnumerator
,
ILocatorWorkspaceName2
,
LocatorWorkspaceName
,
IDatabaseLocatorWorkspace
,
LocalLocatorWorkspace
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
,
ILocatorWorkspaceName
Method Summary | |
---|---|
IAttachedLocator |
getLocatorFromDataset(IDataset dataset)
Returns the locator attached to the dataset. |
ILocatorWorkspace |
getLocatorWorkspace(IWorkspace wks)
Returns the locator workspace for a workspace. |
ILocatorWorkspace |
getLocatorWorkspaceFromPath(String path)
Returns the locator workspace for a path. |
boolean |
hasLocatorAttached(IDatasetName datasetName)
Indicates if a dataset has an attached locator. |
Method Detail |
---|
ILocatorWorkspace getLocatorWorkspace(IWorkspace wks) throws IOException, AutomationException
The GetLocatorWorkspace method returns a reference to a locator workspace contained by the workspace represented by the wks parameter.
If the wks parameter is a reference to an ArcSDE workspace, then this method returns a reference to a DatabaseLocatorWorkspace. If the wks parameter is a reference to a file workspace, such as a shapefile or coverage workspace, then this method returns a reference to a LocalLocatorWorkspace that contains locators in the folder that contains the file workspace. If the wks parameter is a reference to a personal Geodatabase workspace, then this method returns a reference to a LocalLocatorWorkspace that contains locators in the folder that contains the personal Geodatabase.
wks
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.locationui.GxLocatorFolder
,
ISetDefaultConnectionInfo
,
IFDOToADOConnection.connect(com.esri.arcgis.geodatabase.IWorkspace, java.lang.Object)
,
IWorkspaceName
,
ILocalLocatorWorkspace
,
IWorkspaceName2
,
IDataset
,
com.esri.arcgis.locationui.GxGeocodingServiceExtension
,
FdoAdoConnection
,
com.esri.arcgis.locationui.IGxLocatorFolder
,
com.esri.arcgis.locationui.GxLocatorFactory
,
IDatabaseConnectionInfo
,
Workspace
,
IRemoteDatabaseWorkspaceFactory
,
ILocalLocatorWorkspace.getPath()
,
ILocatorManager.getLocatorWorkspace(com.esri.arcgis.geodatabase.IWorkspace)
,
IFDOToADOConnection.createADOConnection(com.esri.arcgis.geodatabase.IWorkspace)
ILocatorWorkspace getLocatorWorkspaceFromPath(String path) throws IOException, AutomationException
The GetLocatorWorkspaceFromPath method returns a LocalLocatorWorkspace for the given Path. To open the default local locator workspace (represented by the top-level Address Locators folder in ArcCatalog), specify an empty string for the Path parameter.
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorWorkspace2
,
ILocatorManager2
,
DatabaseLocatorWorkspace
,
ILocatorWorkspace
,
ILocatorManager.getLocatorWorkspaceFromPath(String)
,
LocatorEnumerator
,
ILocatorWorkspaceName2
,
LocatorWorkspaceName
,
IDatabaseLocatorWorkspace
,
LocalLocatorWorkspace
,
ILocatorManager
,
LocatorManager
,
ILocatorWorkspaceName
boolean hasLocatorAttached(IDatasetName datasetName) throws IOException, AutomationException
The HasLocatorAttached method indicates if the dataset specified by the DatasetName parameter has an AttachedLocator. A dataset usually has an AttachedLocator if it was created using a locator.
datasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorAttach2
,
ILocatorManager
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
,
ILocatorAttach2.attachLocator(com.esri.arcgis.geodatabase.ILocator, com.esri.arcgis.geodatabase.ITable, String, String)
IAttachedLocator getLocatorFromDataset(IDataset dataset) throws IOException, AutomationException
The GetLocatorFromDataset method returns the AttachedLocator from the dataset specified by the Dataset parameter. Use the HasLocatorAttached method to determine if a dataset has an AttachedLocator.
dataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorAttach2
,
ILocatorManager
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
,
ILocatorAttach2.attachLocator(com.esri.arcgis.geodatabase.ILocator, com.esri.arcgis.geodatabase.ITable, String, String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |