|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geometry.IESRIShapeProxy
public class IESRIShapeProxy
Provides access to members that Import/Export ArcObjects geometries to ESRI shapefile format.
Shape modifiers are used in certain methods of this interface. For instance they are used to define which geometry attributes to allow when exporting or importing a geometry.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IESRIShapeProxy()
|
|
IESRIShapeProxy(Object obj)
|
protected |
IESRIShapeProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
attachToESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Takes ownership of the input ESRI shapefile format buffer. |
void |
exportToESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Writes an ESRI shapefile formatted version of this geometry to the specified buffer. |
void |
exportToESRIShapeEx(int modifiersToAllow,
boolean useArcViewNaNs,
int[] byteCountInOut,
byte[] byteBuffer)
Writes an ESRI shapefile formatted version of this geometry to the specified buffer. |
int |
getESRIShapeSize()
The size of the buffer, in bytes, that will be required to hold the ESRI shapefile formatted version of the geometry. |
int |
getESRIShapeSizeEx(int modifiersToAllow)
The size of the buffer (in bytes) that will be required to hold the ESRI shapefile version of the geometry. |
void |
getModifierOffset(int modifierType,
int[] offset)
Finds out the byte offsets within a shape buffer at which an exported attribute can be found. |
void |
importFromESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Defines this geometry from the input ESRI shapefile formatted buffer. |
void |
nonTrustedImportFromESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Defines this geometry from the contents of the input ESRI shapefile formatted buffer. |
void |
queryESRIShapeType(int basicShapeType,
int[] shapeModifiers)
Returns the basic type and modifiers (combination of esriShapeModifiers) that define the geometry's shape type, as it was last exported. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IESRIShapeProxy()
public IESRIShapeProxy(Object obj) throws IOException
IOException
protected IESRIShapeProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void queryESRIShapeType(int basicShapeType, int[] shapeModifiers) throws IOException, AutomationException
queryESRIShapeType
in interface IESRIShape
basicShapeType
- A com.esri.arcgis.geometry.esriShapeType constant (in)shapeModifiers
- The shapeModifiers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getESRIShapeSize() throws IOException, AutomationException
getESRIShapeSize
in interface IESRIShape
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getESRIShapeSizeEx(int modifiersToAllow) throws IOException, AutomationException
getESRIShapeSizeEx
in interface IESRIShape
modifiersToAllow
- The modifiersToAllow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importFromESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
importFromESRIShape
in interface IESRIShape
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void nonTrustedImportFromESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
nonTrustedImportFromESRIShape
in interface IESRIShape
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attachToESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
attachToESRIShape
in interface IESRIShape
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportToESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
exportToESRIShape
in interface IESRIShape
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportToESRIShapeEx(int modifiersToAllow, boolean useArcViewNaNs, int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
exportToESRIShapeEx
in interface IESRIShape
modifiersToAllow
- The modifiersToAllow (in)useArcViewNaNs
- The useArcViewNaNs (in)byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getModifierOffset(int modifierType, int[] offset) throws IOException, AutomationException
getModifierOffset
in interface IESRIShape
modifierType
- A com.esri.arcgis.geometry.esriShapeModifiers constant (in)offset
- The offset (out: use single element array)
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 |