com.esri.arcgis.geodatabase
Interface IExternalSerializerGdb

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IExternalSerializerGdbProxy, JSONConverterGdb, JSONSerializerGdb

public interface IExternalSerializerGdb
extends java.io.Serializable

COM Interface 'IExternalSerializerGdb'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDeed3eea0_a5a5_49e8_b23c_ba29ae21d3da
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 byte[] getErrorObject(java.lang.String propname, int code, java.lang.String message, IStringArray details)
          Convenience method.
 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 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.
 

Field Detail

IIDeed3eea0_a5a5_49e8_b23c_ba29ae21d3da

static final int IIDeed3eea0_a5a5_49e8_b23c_ba29ae21d3da
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

writeSpatialReference

void writeSpatialReference(java.lang.String propname,
                           ISpatialReference pSR)
                           throws java.io.IOException,
                                  AutomationException
Writes spatial reference object. Pass NULL as propname to write standalone JSON object.

Parameters:
propname - The propname (in)
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeGeometry

void writeGeometry(java.lang.String propname,
                   IGeometry pGeom)
                   throws java.io.IOException,
                          AutomationException
Writes geometry object.

Parameters:
propname - The propname (in)
pGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeRow

void writeRow(java.lang.String propname,
              IRow pRow,
              IFields pFields,
              int[] rowFieldIndexes,
              IGeometryResultOptions pGeomOpt)
              throws java.io.IOException,
                     AutomationException
Writes feature row object

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeRecordSet

void writeRecordSet(java.lang.String propname,
                    IRecordSet pRecordset,
                    IGeometryResultOptions pGeomOpt)
                    throws java.io.IOException,
                           AutomationException
Writes feature recordset.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeErrorObject

void writeErrorObject(java.lang.String propname,
                      int code,
                      java.lang.String message,
                      IStringArray details)
                      throws java.io.IOException,
                             AutomationException
Writes error object.

Parameters:
propname - The propname (in)
code - The code (in)
message - The message (in)
details - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorObject

byte[] getErrorObject(java.lang.String propname,
                      int code,
                      java.lang.String message,
                      IStringArray details)
                      throws java.io.IOException,
                             AutomationException
Convenience method. Creates and returns error object as byte SAFEARRAY.

Parameters:
propname - The propname (in)
code - The code (in)
message - The message (in)
details - A reference to a com.esri.arcgis.system.IStringArray (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.