com.esri.arcgis.geodatabase
Interface IExternalSerializerGdb2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IExternalSerializerGdb2Proxy

public interface IExternalSerializerGdb2
extends java.io.Serializable

COM Interface 'IExternalSerializerGdb2'. Generated 3/19/2015 1:20:57 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 IIDbd834841_484f_4903_aaae_0fa26e5206cd
           
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 writeRecordSetEx(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, int[] recordsSerialized)
          Writes feature recordset and returns number of records serialized.
 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

IIDbd834841_484f_4903_aaae_0fa26e5206cd

static final int IIDbd834841_484f_4903_aaae_0fa26e5206cd
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.

writeRecordSetEx

void writeRecordSetEx(java.lang.String propname,
                      IRecordSet pRecordset,
                      IGeometryResultOptions pGeomOpt,
                      int[] recordsSerialized)
                      throws java.io.IOException,
                             AutomationException
Writes feature recordset and returns number of records serialized.

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)
recordsSerialized - The recordsSerialized (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.