com.esri.arcgis.geometry
Class IESRIShape2Proxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geometry.IESRIShapeProxy
com.esri.arcgis.geometry.IESRIShape2Proxy
- All Implemented Interfaces:
- IESRIShape, IESRIShape2, java.io.Externalizable, java.io.Serializable
public class IESRIShape2Proxy
- extends IESRIShapeProxy
- implements IESRIShape2, java.io.Serializable
Internal use class
Proxy for COM Interface 'IESRIShape2'. Generated 3/19/2015 1:20:58 PM
from 'C:\ArcGIS\COM\esriGeometry.olb'
Description: 'Provides access to methods for non-byte swapping and angular densification export in addition to those in IESRIShape.'
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 =
- See Also:
- Serialized Form
Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary |
|
IESRIShape2Proxy()
For internal use only |
|
IESRIShape2Proxy(java.lang.Object obj)
|
protected |
IESRIShape2Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IESRIShape2Proxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IESRIShape2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
void |
exportToESRIShapeEx2(int exportFlags,
int[] byteCountInOut,
byte[] byteBuffer)
Writes an Esri shapefile formatted version of this geometry to the specified buffer. |
int |
getESRIShapeSizeEx2(int exportFlags)
The size of the buffer (in bytes) that will be required to hold the Esri shapefile version of the geometry. |
void |
importFromESRIShapeEx(int importFlags,
int[] byteCountInOut,
byte[] byteBuffer)
Defines this geometry based upon the contents of the input Esri shapefile formatted buffer. |
void |
removeListener(java.lang.String iidStr,
java.lang.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 |
targetClass
public static final java.lang.Class targetClass
noncastable
public boolean noncastable
IESRIShape2Proxy
public IESRIShape2Proxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
- Throws:
java.net.UnknownHostException
java.io.IOException
IESRIShape2Proxy
public IESRIShape2Proxy()
- For internal use only
IESRIShape2Proxy
public IESRIShape2Proxy(java.lang.Object obj)
throws java.io.IOException
- Throws:
java.io.IOException
IESRIShape2Proxy
protected IESRIShape2Proxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
- Throws:
java.io.IOException
IESRIShape2Proxy
protected IESRIShape2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
- Throws:
java.io.IOException
addListener
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
- Overrides:
addListener
in class IESRIShapeProxy
- Throws:
java.io.IOException
removeListener
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
- Overrides:
removeListener
in class IESRIShapeProxy
- Throws:
java.io.IOException
getESRIShapeSizeEx2
public int getESRIShapeSizeEx2(int exportFlags)
throws java.io.IOException,
AutomationException
- The size of the buffer (in bytes) that will be required to hold the Esri shapefile version of the geometry. The value may exceed the minimum required size. exportFlags is a combination of esriShapeExportFlags values.
- Specified by:
getESRIShapeSizeEx2
in interface IESRIShape2
- Parameters:
exportFlags
- The exportFlags (in)
- Returns:
- The cBytes
- Throws:
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
exportToESRIShapeEx2
public void exportToESRIShapeEx2(int exportFlags,
int[] byteCountInOut,
byte[] byteBuffer)
throws java.io.IOException,
AutomationException
- Writes an Esri shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer. exportFlags is a combination of esriShapeExportFlags values.
- Specified by:
exportToESRIShapeEx2
in interface IESRIShape2
- Parameters:
exportFlags
- The exportFlags (in)byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (out: use single element array)
- Throws:
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
importFromESRIShapeEx
public void importFromESRIShapeEx(int importFlags,
int[] byteCountInOut,
byte[] byteBuffer)
throws java.io.IOException,
AutomationException
- Defines this geometry based upon the contents of the input Esri shapefile formatted buffer. Returns the exact number of bytes read from the buffer. importFlags is a combination of esriShapeImportFlags values.
- Specified by:
importFromESRIShapeEx
in interface IESRIShape2
- Parameters:
importFlags
- The importFlags (in)byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
- Throws:
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.