public class GeometryArray extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, IGeometryArray
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, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID2c2f7f27_ae8c_4bb1_a635_502f1a70dc57, xxDummy
Constructor and Description |
---|
GeometryArray()
Constructs a GeometryArray using ArcGIS Engine.
|
GeometryArray(java.lang.Object obj)
Construct a GeometryArray using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IGeometry g)
Adds a geometry.
|
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 geometry count.
|
IGeometry |
getElement(int index)
Returns the geometry at the specified position.
|
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,
IGeometry g)
Adds a geometry at the specified position.
|
void |
release()
Release this COM object reference
|
void |
remove(int index)
Removes the geometry at the specified position.
|
void |
removeAll()
Removes all geometries.
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
public GeometryArray() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic GeometryArray(java.lang.Object obj) throws java.io.IOException
obj
to GeometryArray
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
GeometryArray theGeometryArray = (GeometryArray) obj;
public 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 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.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IGeometryArray
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry getElement(int index) throws java.io.IOException, AutomationException
getElement
in interface IGeometryArray
index
- The index (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 IGeometryArray
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 IGeometryArray
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void add(IGeometry g) throws java.io.IOException, AutomationException
add
in interface IGeometryArray
g
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void insert(int index, IGeometry g) throws java.io.IOException, AutomationException
insert
in interface IGeometryArray
index
- The index (in)g
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.