public class Array extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IArray, IArray2, IXMLSerialize
Description 'Generic array of objects.' 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, IIDaafb54d9_aaf8_11d2_87f3_0000f8751720, xxDummy
IID, IIDc4b2bfc5_eb46_4909_801c_c32a6ede120d, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
Constructor and Description |
---|
Array()
Constructs a Array using ArcGIS Engine.
|
Array(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Array theArray = (Array) obj; |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object unk)
Adds an object to the array.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
The element count of the array.
|
java.lang.Object |
getElement(int index)
Searches for the object in the array.
|
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
|
void |
insert(int index,
java.lang.Object unk)
Adds an object to the array at the specified index.
|
void |
release()
Release this COM object reference
|
void |
remove(int index)
Removes an object from the array.
|
void |
removeAll()
Removes all objects from the array.
|
void |
replace(int index,
java.lang.Object unk)
Replaces an object in the array.
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
public Array() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Array(java.lang.Object obj) throws java.io.IOException
Array theArray = (Array) obj;
obj
to Array
.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 int getCount() throws java.io.IOException, AutomationException
getCount
in interface IArray
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getElement(int index) throws java.io.IOException, AutomationException
getElement
in interface IArray
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void add(java.lang.Object unk) throws java.io.IOException, AutomationException
add
in interface IArray
unk
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void insert(int index, java.lang.Object unk) throws java.io.IOException, AutomationException
insert
in interface IArray
index
- The index (in)unk
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws java.io.IOException, AutomationException
remove
in interface IArray
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws java.io.IOException, AutomationException
removeAll
in interface IArray
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void replace(int index, java.lang.Object unk) throws java.io.IOException, AutomationException
replace
in interface IArray2
index
- The index (in)unk
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.