|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.JSONSerializerGdb
public class JSONSerializerGdb
COM Class 'JSONSerializerGdb'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description 'High-level object serializer into JSON coclass.' 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 |
---|
Fields inherited from interface com.esri.arcgis.system.IJSONSerializer |
---|
IID, IIDab718cdf_0c06_4d18_9aa4_a6c54b2bc28c, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IExternalSerializer |
---|
IIDe760e960_f144_4b30_930b_5f8056e4e305 |
Fields inherited from interface com.esri.arcgis.geodatabase.IExternalSerializerGdb |
---|
IID, IIDeed3eea0_a5a5_49e8_b23c_ba29ae21d3da, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
JSONSerializerGdb()
Constructs a JSONSerializerGdb using ArcGIS Engine. |
|
JSONSerializerGdb(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. JSONSerializerGdb theJSONSerializerGdb = (JSONSerializerGdb) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
byte[] |
getErrorObject(java.lang.String propname,
int code,
java.lang.String message,
IStringArray details)
Convenience method. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IJSONWriter |
getWriter()
Obtains JSON Writer. |
int |
hashCode()
the hashcode for this object |
void |
initSerializer(IJSONWriter pWriter,
IPropertySet pProps)
Writes serialization options. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
release()
Release a JSONSerializerGdb. |
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 |
writeObject(java.lang.Object pUnk,
IPropertySet pProps)
Serializes an 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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONSerializerGdb() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic JSONSerializerGdb(java.lang.Object obj) throws java.io.IOException
JSONSerializerGdb theJSONSerializerGdb = (JSONSerializerGdb) obj;
obj
to JSONSerializerGdb
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IJSONWriter getWriter() throws java.io.IOException, AutomationException
getWriter
in interface IJSONSerializer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initSerializer(IJSONWriter pWriter, IPropertySet pProps) throws java.io.IOException, AutomationException
initSerializer
in interface IJSONSerializer
pWriter
- A reference to a com.esri.arcgis.system.IJSONWriter (in)pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeObject(java.lang.Object pUnk, IPropertySet pProps) throws java.io.IOException, AutomationException
writeObject
in interface IExternalSerializer
pUnk
- A reference to another Object (IUnknown) (in)pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeSpatialReference(java.lang.String propname, ISpatialReference pSR) throws java.io.IOException, AutomationException
writeSpatialReference
in interface IExternalSerializerGdb
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.public void writeGeometry(java.lang.String propname, IGeometry pGeom) throws java.io.IOException, AutomationException
writeGeometry
in interface IExternalSerializerGdb
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.public void writeRow(java.lang.String propname, IRow pRow, IFields pFields, int[] rowFieldIndexes, IGeometryResultOptions pGeomOpt) throws java.io.IOException, AutomationException
writeRow
in interface IExternalSerializerGdb
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.public void writeRecordSet(java.lang.String propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt) throws java.io.IOException, AutomationException
writeRecordSet
in interface IExternalSerializerGdb
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.public void writeErrorObject(java.lang.String propname, int code, java.lang.String message, IStringArray details) throws java.io.IOException, AutomationException
writeErrorObject
in interface IExternalSerializerGdb
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.public byte[] getErrorObject(java.lang.String propname, int code, java.lang.String message, IStringArray details) throws java.io.IOException, AutomationException
getErrorObject
in interface IExternalSerializerGdb
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.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |