|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.location.LocatorEnumerator
public class LocatorEnumerator
An enumeration of locators and locator styles.
Use the ILocatorWorkspace::Locators method to get a LocatorEnumerator from a locator workspace.
ILocatorWorkspace2,
ILocatorManager2,
DatabaseLocatorWorkspace,
ILocatorWorkspace,
ILocatorManager.getLocatorWorkspaceFromPath(String),
LocatorEnumerator,
ILocatorWorkspaceName2,
LocatorWorkspaceName,
IDatabaseLocatorWorkspace,
LocalLocatorWorkspace,
ILocatorManager,
LocatorManager,
ILocatorWorkspaceName,
Serialized Form| Constructor Summary | |
|---|---|
LocatorEnumerator(Object obj)
Construct a LocatorEnumerator using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IEnumLocator |
esri_clone()
Creates a copy of the enumeration. |
int |
getCount()
Number of locators in the enumeration. |
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 |
reset()
Resets the enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public LocatorEnumerator(Object obj)
throws IOException
obj to LocatorEnumerator. *
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
IOException - if there are interop problems
LocatorEnumerator theLocatorEnumerator = (LocatorEnumerator) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public ILocator next()
throws IOException,
AutomationException
The Next method returns the next locator in the LocatorEnumerator.
next in interface IEnumLocatorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILocator previous()
throws IOException,
AutomationException
The Previous method returns the previous locator in the LocatorEnumerator.
previous in interface IEnumLocatorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.ILocatorWorkspace.updateLocator(com.esri.arcgis.geodatabase.ILocator),
StreetMapAddressLocatorStyle,
com.esri.arcgis.locationui.GxLocator,
ESRIFDOAddressLocatorStyle,
ILocatorWorkspace.getLocator(String),
ILocator,
ESRIFDOAddressLocator,
StreetMapAddressLocator,
com.esri.arcgis.locationui.LocatorExtension,
com.esri.arcgis.catalogUI.IGxLocator
public void reset()
throws IOException,
AutomationException
The Reset method resets the LocatorEnumerator so that the next call to the Next method returns the first locator in the LocatorEnumerator. The Reset method should always be called on a LocatorEnumerator immediately after retrieving it from a locator workspace.
reset in interface IEnumLocatorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumLocator esri_clone()
throws IOException,
AutomationException
esri_clone in interface IEnumLocatorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
The Count property returns the number of locators in the LocatorEnumerator.
getCount in interface IEnumLocatorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||