|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.LocatorNameEnumerator
public class LocatorNameEnumerator
An enumeration of Name objects for locators and locator styles.
The LocatorNameEnumerator is an enumeration of LocatorName objects. Use the ILocatorWorkspace::LocatorNames method to get an enumeration of LocatorName objects from a locator workspace.
Constructor Summary | |
---|---|
LocatorNameEnumerator(Object obj)
Construct a LocatorNameEnumerator using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(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. |
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 |
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 LocatorNameEnumerator(Object obj) throws IOException
obj
to LocatorNameEnumerator
. *
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
IOException
- if there are interop problems
LocatorNameEnumerator theLocatorNameEnumerator = (LocatorNameEnumerator) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ILocatorName next() throws IOException, AutomationException
The Next method returns the next LocatorName object in the LocatorNameEnumerator.
next
in interface IEnumLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILocatorName previous() throws IOException, AutomationException
The Previous method returns the previous LocatorName object in the LocatorNameEnumerator.
previous
in interface IEnumLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
The Reset method resets the LocatorNameEnumerator so that the next call to the Next method returns the first LocatorName object in the LocatorNameEnumerator. The Reset method should always be called on a LocatorNameEnumerator immediately after retrieving it from a locator workspace.
reset
in interface IEnumLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumLocatorName esri_clone() throws IOException, AutomationException
esri_clone
in interface IEnumLocatorName
IOException
- 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 LocatorName objects in the LocatorNameEnumerator.
getCount
in interface IEnumLocatorName
IOException
- 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 ISupportErrorInfo
riid
- 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 |