|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.GeometryArray
public class GeometryArray
Constructor Summary | |
---|---|
GeometryArray()
Constructs a GeometryArray using ArcGIS Engine. |
|
GeometryArray(Object obj)
Construct a GeometryArray using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
add(IGeometry g)
Adds a geometry. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The geometry count. |
IGeometry |
getElement(int index)
Returns the geometry at the specified position. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
IGeometry g)
Adds a geometry at the specified position. |
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. |
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 GeometryArray() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GeometryArray(Object obj) throws IOException
obj
to GeometryArray
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GeometryArray theGeometryArray = (GeometryArray) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IGeometryArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getElement(int index) throws IOException, AutomationException
getElement
in interface IGeometryArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
remove
in interface IGeometryArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IGeometryArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IGeometry g) throws IOException, AutomationException
add
in interface IGeometryArray
g
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, IGeometry g) throws IOException, AutomationException
insert
in interface IGeometryArray
index
- The index (in)g
- A reference to a com.esri.arcgis.geometry.IGeometry (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 |