com.esri.arcgis.geodatabase
Interface IExternalDeserializerGdb

All Superinterfaces:
Serializable
All Known Implementing Classes:
JSONConverterGdb, JSONDeserializerGdb

public interface IExternalDeserializerGdb
extends Serializable

Provides high-level deserialization methods for AMF and JSON formats.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IGeometry readGeometry(int geomType)
          Reads geometry object.
 ISpatialReference readSpatialReference()
          Reads spatial reference object.
 

Method Detail

readSpatialReference

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readGeometry

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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