com.esri.arcgis.location
Class LocatorEnumerator

java.lang.Object
  extended by com.esri.arcgis.location.LocatorEnumerator
All Implemented Interfaces:
IEnumLocator, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class LocatorEnumerator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumLocator, ISupportErrorInfo

COM Class 'LocatorEnumerator'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'

Description 'An enumeration of locators and locator styles.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumLocator
IID, IIDe0f10b78_eb7c_11d2_9f47_00c04f8ed1c4, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
LocatorEnumerator(java.lang.Object obj)
          Construct a LocatorEnumerator using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IEnumLocator esri_clone()
          Creates a copy of the enumeration.
 int getCount()
          Number of locators in the enumeration.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 ILocator next()
          Returns the next locator or locator style.
 ILocator previous()
          Returns the previous locator or locator style.
 void release()
          Release a LocatorEnumerator.
 void reset()
          Resets the enumeration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorEnumerator

public LocatorEnumerator(java.lang.Object obj)
                  throws java.io.IOException
Construct a LocatorEnumerator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LocatorEnumerator.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
LocatorEnumerator o = (LocatorEnumerator)obj; // will not work

LocatorEnumerator o = new LocatorEnumerator(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems LocatorEnumerator theLocatorEnumerator = (LocatorEnumerator) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a LocatorEnumerator.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

next

public ILocator next()
              throws java.io.IOException,
                     AutomationException
Returns the next locator or locator style.

Specified by:
next in interface IEnumLocator
Returns:
A reference to a com.esri.arcgis.geodatabase.ILocator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

previous

public ILocator previous()
                  throws java.io.IOException,
                         AutomationException
Returns the previous locator or locator style.

Specified by:
previous in interface IEnumLocator
Returns:
A reference to a com.esri.arcgis.geodatabase.ILocator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

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

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

esri_clone

public IEnumLocator esri_clone()
                        throws java.io.IOException,
                               AutomationException
Creates a copy of the enumeration.

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Number of locators in the enumeration.

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.