com.esri.arcgis.location
Class LocatorNameEnumerator

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

public class LocatorNameEnumerator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumLocatorName, ISupportErrorInfo

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

Description 'An enumeration of Name objects for 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.IEnumLocatorName
IID, IID8ddaeee6_8b07_11d3_9f69_00c04f6bdf06, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
LocatorNameEnumerator(java.lang.Object obj)
          Construct a LocatorNameEnumerator 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
 IEnumLocatorName esri_clone()
          Creates a copy of the enumeration.
 int getCount()
          Number of Name objects 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
 ILocatorName next()
          Returns the next Name object.
 ILocatorName previous()
          Returns the previous Name object.
 void release()
          Release a LocatorNameEnumerator.
 void reset()
          Resets the enumeration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorNameEnumerator

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

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

Throws:
java.io.IOException - if there are interop problems LocatorNameEnumerator theLocatorNameEnumerator = (LocatorNameEnumerator) 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 LocatorNameEnumerator.

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

next

public ILocatorName next()
                  throws java.io.IOException,
                         AutomationException
Returns the next Name object.

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

previous

public ILocatorName previous()
                      throws java.io.IOException,
                             AutomationException
Returns the previous Name object.

Specified by:
previous in interface IEnumLocatorName
Returns:
A reference to a com.esri.arcgis.geodatabase.ILocatorName
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 IEnumLocatorName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

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

Specified by:
esri_clone in interface IEnumLocatorName
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumLocatorName
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 Name objects in the enumeration.

Specified by:
getCount in interface IEnumLocatorName
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.