com.esri.arcgis.geodatabase
Class JSONDeserializerGdb

java.lang.Object
  extended by com.esri.arcgis.geodatabase.JSONDeserializerGdb
All Implemented Interfaces:
IExternalDeserializerGdb, com.esri.arcgis.interop.RemoteObjRef, IExternalDeserializer, IJSONDeserializer, ISupportErrorInfo, java.io.Serializable

public class JSONDeserializerGdb
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IJSONDeserializer, IExternalDeserializerGdb, ISupportErrorInfo

COM Class 'JSONDeserializerGdb'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'High-level object deserializer from 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IJSONDeserializer
IID, IID1e6dc0eb_5c8a_4401_a8af_bb5602ddfb7e, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IExternalDeserializer
IID09134de8_4147_4564_82bd_6cc18414c389
 
Fields inherited from interface com.esri.arcgis.geodatabase.IExternalDeserializerGdb
IID, IIDb3021be9_c152_4df8_aa79_3d834190da67, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
JSONDeserializerGdb()
          Constructs a JSONDeserializerGdb using ArcGIS Engine.
JSONDeserializerGdb(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JSONDeserializerGdb theJSONDeserializerGdb = (JSONDeserializerGdb) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IJSONReader getReader()
          Obtains JSON Reader.
 int hashCode()
          the hashcode for this object
 void initDeserializer(IJSONReader pReader, IPropertySet pProps)
          Write deserialization options.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 IGeometry readGeometry(int geomType)
          Reads geometry object.
 java.lang.Object readObject(GUID riid, IPropertySet pProps)
          Deserialize an object.
 ISpatialReference readSpatialReference()
          Reads spatial reference object.
 void release()
          Release a JSONDeserializerGdb.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONDeserializerGdb

public JSONDeserializerGdb()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a JSONDeserializerGdb using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

JSONDeserializerGdb

public JSONDeserializerGdb(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JSONDeserializerGdb theJSONDeserializerGdb = (JSONDeserializerGdb) obj;

Construct a JSONDeserializerGdb using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to JSONDeserializerGdb.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a JSONDeserializerGdb.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getReader

public IJSONReader getReader()
                      throws java.io.IOException,
                             AutomationException
Obtains JSON Reader.

Specified by:
getReader in interface IJSONDeserializer
Returns:
A reference to a com.esri.arcgis.system.IJSONReader
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initDeserializer

public void initDeserializer(IJSONReader pReader,
                             IPropertySet pProps)
                      throws java.io.IOException,
                             AutomationException
Write deserialization options.

Specified by:
initDeserializer in interface IJSONDeserializer
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readObject

public java.lang.Object readObject(GUID riid,
                                   IPropertySet pProps)
                            throws java.io.IOException,
                                   AutomationException
Deserialize an object. riid references an interface to use. If interface is not supported, E_NOTIMPL is returned.

Specified by:
readObject in interface IExternalDeserializer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readSpatialReference

public ISpatialReference readSpatialReference()
                                       throws java.io.IOException,
                                              AutomationException
Reads spatial reference object.

Specified by:
readSpatialReference in interface IExternalDeserializerGdb
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readGeometry

public IGeometry readGeometry(int geomType)
                       throws java.io.IOException,
                              AutomationException
Reads geometry object.

Specified by:
readGeometry in interface IExternalDeserializerGdb
Parameters:
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.