com.esri.arcgis.location
Class IEnumReferenceDataTableProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.location.IEnumReferenceDataTableProxy
All Implemented Interfaces:
IEnumReferenceDataTable, Externalizable, Serializable

public class IEnumReferenceDataTableProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumReferenceDataTable, Serializable

Provides access to members for retrieving the reference data tables.

When To Use

Use the IEnumReferenceDataTable interface to retrieve the ReferenceDataTables contained by the enumerator.

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
  IEnumReferenceDataTableProxy()
           
  IEnumReferenceDataTableProxy(Object obj)
           
protected IEnumReferenceDataTableProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getCount()
          The number of reference data tables for the locator.
 IReferenceDataTable next()
          Returns the next reference data table.
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the enumeration.
 
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

IEnumReferenceDataTableProxy

public IEnumReferenceDataTableProxy()

IEnumReferenceDataTableProxy

public IEnumReferenceDataTableProxy(Object obj)
                             throws IOException
Throws:
IOException

IEnumReferenceDataTableProxy

protected IEnumReferenceDataTableProxy(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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of reference data tables for the locator.

Description

The Count property returns the number of ReferenceDataTables contained by the enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IEnumReferenceDataTable
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IReferenceDataTable next()
                         throws IOException,
                                AutomationException
Returns the next reference data table.

Description

Returns the next ReferenceDataTable from the enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumReferenceDataTable
Returns:
A reference to a com.esri.arcgis.location.IReferenceDataTable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumeration.

Description

The Reset method resets the ReferenceDataTableEnumerator so that the Next method returns the first ReferenceDataTable from the enumerator.

Remarks

You should use this method immediately after obtaining the ReferenceDataTableEnumerator from the locator. You need to use this method before querying the Count property or calling the Next method.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IEnumReferenceDataTable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.