public interface IExternalSerializerGdb2
extends java.io.Serializable
Description: 'Provides high-level serialization methods for AMF and JSON formats.' 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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDbd834841_484f_4903_aaae_0fa26e5206cd |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getErrorObject(java.lang.String propname,
int code,
java.lang.String message,
IStringArray details)
Convenience method.
|
void |
getQuantizationTransform(IJSONObject[] quantizationTransformJO)
Obtains the Quantization Transform JSON Ojbect setup during writer install.
|
void |
writeErrorObject(java.lang.String propname,
int code,
java.lang.String message,
IStringArray details)
Writes error object.
|
void |
writeGeometry(java.lang.String propname,
IGeometry pGeom)
Writes geometry object.
|
void |
writeRecordSet(java.lang.String propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt)
Writes feature recordset.
|
void |
writeRecordSetEx(java.lang.String propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt,
int[] recordsSerialized)
Writes feature recordset and returns number of records serialized.
|
void |
writeRecordSetEx2(java.lang.String propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt,
ISpatialReference pOutSRS,
int[] recordsSerialized)
Writes feature recordset for both JSON and GeoJSON format and returns number of records serialized.
|
void |
writeRecordSetEx3(java.lang.String propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt,
ISpatialReference pOutSRS,
IJSONObject quantizationTransformJO,
int[] recordsSerialized)
Writes feature recordset for both JSON and GeoJSON format with quantization support and returns number of records serialized.
|
void |
writeRecordSetEx4(java.lang.String propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt,
ISpatialReference pOutSRS,
IJSONObject quantizationTransformJO,
int[] recordsSerialized)
Writes feature recordset for both JSON and GeoJSON format with quantization support and returns number of records serialized, for other use cases like Map Server end, we still need to report crs even GeoJSON no longer has it.
|
void |
writeRow(java.lang.String propname,
IRow pRow,
IFields pFields,
int[] rowFieldIndexes,
IGeometryResultOptions pGeomOpt)
Writes feature row object
|
void |
writeSpatialReference(java.lang.String propname,
ISpatialReference pSR)
Writes spatial reference object.
|
static final int IIDbd834841_484f_4903_aaae_0fa26e5206cd
static final int xxDummy
static final java.lang.String IID
void writeSpatialReference(java.lang.String propname, ISpatialReference pSR) throws java.io.IOException, AutomationException
propname
- The propname (in)pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeGeometry(java.lang.String propname, IGeometry pGeom) throws java.io.IOException, AutomationException
propname
- The propname (in)pGeom
- 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.void writeRow(java.lang.String propname, IRow pRow, IFields pFields, int[] rowFieldIndexes, IGeometryResultOptions pGeomOpt) throws java.io.IOException, AutomationException
propname
- The propname (in)pRow
- A reference to a com.esri.arcgis.geodatabase.IRow (in)pFields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)rowFieldIndexes
- The rowFieldIndexes (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeRecordSet(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt) throws java.io.IOException, AutomationException
propname
- The propname (in)pRecordset
- A reference to a com.esri.arcgis.geodatabase.IRecordSet (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeErrorObject(java.lang.String propname, int code, java.lang.String message, IStringArray details) throws java.io.IOException, AutomationException
propname
- The propname (in)code
- The code (in)message
- The message (in)details
- A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.byte[] getErrorObject(java.lang.String propname, int code, java.lang.String message, IStringArray details) throws java.io.IOException, AutomationException
propname
- The propname (in)code
- The code (in)message
- The message (in)details
- A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeRecordSetEx(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, int[] recordsSerialized) throws java.io.IOException, AutomationException
propname
- The propname (in)pRecordset
- A reference to a com.esri.arcgis.geodatabase.IRecordSet (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)recordsSerialized
- The recordsSerialized (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeRecordSetEx2(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, ISpatialReference pOutSRS, int[] recordsSerialized) throws java.io.IOException, AutomationException
propname
- The propname (in)pRecordset
- A reference to a com.esri.arcgis.geodatabase.IRecordSet (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)pOutSRS
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)recordsSerialized
- The recordsSerialized (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void getQuantizationTransform(IJSONObject[] quantizationTransformJO) throws java.io.IOException, AutomationException
quantizationTransformJO
- A reference to a com.esri.arcgis.system.IJSONObject (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeRecordSetEx3(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, ISpatialReference pOutSRS, IJSONObject quantizationTransformJO, int[] recordsSerialized) throws java.io.IOException, AutomationException
propname
- The propname (in)pRecordset
- A reference to a com.esri.arcgis.geodatabase.IRecordSet (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)pOutSRS
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)quantizationTransformJO
- A reference to a com.esri.arcgis.system.IJSONObject (in)recordsSerialized
- The recordsSerialized (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeRecordSetEx4(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, ISpatialReference pOutSRS, IJSONObject quantizationTransformJO, int[] recordsSerialized) throws java.io.IOException, AutomationException
propname
- The propname (in)pRecordset
- A reference to a com.esri.arcgis.geodatabase.IRecordSet (in)pGeomOpt
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)pOutSRS
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)quantizationTransformJO
- A reference to a com.esri.arcgis.system.IJSONObject (in)recordsSerialized
- The recordsSerialized (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.