|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.NamesEnumerator
public class NamesEnumerator
ESRI Name Enumerator object.
Constructor Summary | |
---|---|
NamesEnumerator()
Constructs a NamesEnumerator using ArcGIS Engine. |
|
NamesEnumerator(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NamesEnumerator theNamesEnumerator = (NamesEnumerator) obj; |
Method Summary | |
---|---|
void |
add(IName name)
Adds a Name in the list. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
IName |
next()
Obtains the next Name in the list. |
void |
remove(IName name)
Removes a Name from the list. |
void |
removeCurrent()
Removes current name from the list (when enumerating). |
void |
reset()
Resets the current position to the beginning. |
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 NamesEnumerator() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NamesEnumerator(Object obj) throws IOException
NamesEnumerator theNamesEnumerator = (NamesEnumerator) obj;
obj
to NamesEnumerator
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IName next() throws IOException, AutomationException
The Next method returns the next Name in the enumerator.
next
in interface IEnumName
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 enumerator so that the next call to the Next method returns the first Name in the enumerator.
reset
in interface IEnumName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IName name) throws IOException, AutomationException
Adds the specified Name object to the enumerator.
add
in interface IEnumNameEdit
name
- A reference to a com.esri.arcgis.system.IName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(IName name) throws IOException, AutomationException
Removes the specified Name object from the enumerator.
remove
in interface IEnumNameEdit
name
- A reference to a com.esri.arcgis.system.IName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeCurrent() throws IOException, AutomationException
Removes the current Name object from the enumerator.
removeCurrent
in interface IEnumNameEdit
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 |