com.esri.arcgis.carto
Class IDataBrowserProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IDataBrowserProxy
All Implemented Interfaces:
IDataBrowser, Externalizable, Serializable

public class IDataBrowserProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataBrowser, Serializable

Provides access to members that control the data browser.

Remarks

Developers can implement this interface as a shortcut for obtaining references to workspaces and data through one common interface, the interface is not currently implemented by any classes provided with ArcGIS.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IDataBrowserProxy()
           
  IDataBrowserProxy(Object obj)
           
protected IDataBrowserProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IEnumWorkspace getDatabases()
          The database connections installed on the machine.
 IEnumDataset getDatasets(IWorkspace workspace)
          The datasets registered in the catalog under the specified workspace.
 IEnumFeatureClass getFeatureClasses(IDataset dataset)
          The feature classes registered in the catalog under the specified dataset.
 IEnumWorkspace getWorkspaces(String path)
          The workspaces in the specified path.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IDataBrowserProxy

public IDataBrowserProxy()

IDataBrowserProxy

public IDataBrowserProxy(Object obj)
                  throws IOException
Throws:
IOException

IDataBrowserProxy

protected IDataBrowserProxy(Object obj,
                            String iid)
                     throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getDatabases

public IEnumWorkspace getDatabases()
                            throws IOException,
                                   AutomationException
The database connections installed on the machine.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDatabases in interface IDataBrowser
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaces

public IEnumWorkspace getWorkspaces(String path)
                             throws IOException,
                                    AutomationException
The workspaces in the specified path.

Product Availability

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

Specified by:
getWorkspaces in interface IDataBrowser
Parameters:
path - The path (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasets

public IEnumDataset getDatasets(IWorkspace workspace)
                         throws IOException,
                                AutomationException
The datasets registered in the catalog under the specified workspace.

Product Availability

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

Specified by:
getDatasets in interface IDataBrowser
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClasses

public IEnumFeatureClass getFeatureClasses(IDataset dataset)
                                    throws IOException,
                                           AutomationException
The feature classes registered in the catalog under the specified dataset.

Product Availability

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

Specified by:
getFeatureClasses in interface IDataBrowser
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeatureClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.