com.esri.arcgis.geodatabase
Interface IJSONConverterGdb

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

public interface IJSONConverterGdb
extends java.io.Serializable

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

Description: 'Provides high-level deserialization methods for JSON.' 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 IIDf28d230e_0f29_4022_b84f_e7e955a9a873
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void queryJSONDomain(IDomain pDomain, IJSONObject pDomainJO)
          Query domain info from IDomain and populate IJSONObject.
 void readRecordSet(IJSONReader pReader, IFields pDefaultSchema, IPropertySet pConversionProps, IRecordSet[] ppRecordset, IPropertySet[] ppOriginalToNewFieldMap)
          Reads RecordSet object from IJSONReader.
 void toRecordSet(IJSONObject pObj, IFields pDefaultSchema, IPropertySet pConversionProps, IRecordSet[] ppRecordset, IPropertySet[] ppOriginalToNewFieldMap)
          Reads RecordSet object from IJSONObject.
 void writeRecordSet(IJSONWriter pWriter, IJSONConverterGeometry pGeomConv, IPropertySet pProps, java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, boolean bWriteEndOfObj)
          Writes RecordSet to IJSONWriter.
 

Field Detail

IIDf28d230e_0f29_4022_b84f_e7e955a9a873

static final int IIDf28d230e_0f29_4022_b84f_e7e955a9a873
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

readRecordSet

void readRecordSet(IJSONReader pReader,
                   IFields pDefaultSchema,
                   IPropertySet pConversionProps,
                   IRecordSet[] ppRecordset,
                   IPropertySet[] ppOriginalToNewFieldMap)
                   throws java.io.IOException,
                          AutomationException
Reads RecordSet object from IJSONReader.

Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
pDefaultSchema - A reference to a com.esri.arcgis.geodatabase.IFields (in)
pConversionProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
ppRecordset - A reference to a com.esri.arcgis.geodatabase.IRecordSet (out: use single element array)
ppOriginalToNewFieldMap - A reference to a com.esri.arcgis.system.IPropertySet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRecordSet

void toRecordSet(IJSONObject pObj,
                 IFields pDefaultSchema,
                 IPropertySet pConversionProps,
                 IRecordSet[] ppRecordset,
                 IPropertySet[] ppOriginalToNewFieldMap)
                 throws java.io.IOException,
                        AutomationException
Reads RecordSet object from IJSONObject. pDefaultSchema is used only when input JSON has no 'fields' attribute. Pass NULL if not needed. Also, sometimes field names are corrected by the GeoDatabase, use ppOriginalToNewFieldMap to find new field names.

Parameters:
pObj - A reference to a com.esri.arcgis.system.IJSONObject (in)
pDefaultSchema - A reference to a com.esri.arcgis.geodatabase.IFields (in)
pConversionProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
ppRecordset - A reference to a com.esri.arcgis.geodatabase.IRecordSet (out: use single element array)
ppOriginalToNewFieldMap - A reference to a com.esri.arcgis.system.IPropertySet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeRecordSet

void writeRecordSet(IJSONWriter pWriter,
                    IJSONConverterGeometry pGeomConv,
                    IPropertySet pProps,
                    java.lang.String propname,
                    IRecordSet pRecordset,
                    IGeometryResultOptions pGeomOpt,
                    boolean bWriteEndOfObj)
                    throws java.io.IOException,
                           AutomationException
Writes RecordSet to IJSONWriter. Writes closing bracked if bWriteEndOfObj is VARIANT_TRUE. Set bWriteEndOfObj to VARIANT_FALSE if you want to append additional JSON before closing object.

Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
pGeomConv - A reference to a com.esri.arcgis.geometry.IJSONConverterGeometry (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
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)
bWriteEndOfObj - The bWriteEndOfObj (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJSONDomain

void queryJSONDomain(IDomain pDomain,
                     IJSONObject pDomainJO)
                     throws java.io.IOException,
                            AutomationException
Query domain info from IDomain and populate IJSONObject.

Parameters:
pDomain - A reference to a com.esri.arcgis.geodatabase.IDomain (in)
pDomainJO - A reference to a com.esri.arcgis.system.IJSONObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.