public class NamesEnumerator extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IEnumName, IEnumNameEdit
Description 'Esri Name Enumerator object.' 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 =
IID, IIDef237a51_cb69_11d2_9f26_00c04f6bc69e, xxDummy
IID, IIDfdafad91_67fe_11d4_8155_00c04f686238, xxDummy
Constructor and Description |
---|
NamesEnumerator()
Constructs a NamesEnumerator using ArcGIS Engine.
|
NamesEnumerator(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
NamesEnumerator theNamesEnumerator = (NamesEnumerator) obj; |
Modifier and Type | Method and Description |
---|---|
void |
add(IName name)
Adds a Name in the list.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
IName |
next()
Obtains the next Name in the list.
|
void |
release()
Release this COM object reference
|
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.
|
public NamesEnumerator() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic NamesEnumerator(java.lang.Object obj) throws java.io.IOException
NamesEnumerator theNamesEnumerator = (NamesEnumerator) obj;
obj
to NamesEnumerator
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IName next() throws java.io.IOException, AutomationException
next
in interface IEnumName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IEnumName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void add(IName name) throws java.io.IOException, AutomationException
add
in interface IEnumNameEdit
name
- A reference to a com.esri.arcgis.system.IName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remove(IName name) throws java.io.IOException, AutomationException
remove
in interface IEnumNameEdit
name
- A reference to a com.esri.arcgis.system.IName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void removeCurrent() throws java.io.IOException, AutomationException
removeCurrent
in interface IEnumNameEdit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.