com.esri.arcgis.geometry
Class JSONConverterGeometry

java.lang.Object
  extended by com.esri.arcgis.geometry.JSONConverterGeometry
All Implemented Interfaces:
IJSONConverterGeometry, com.esri.arcgis.interop.RemoteObjRef, IExternalDeserializer, IExternalSerializer, IJSONDeserializer, IJSONSerializer, Serializable

public class JSONConverterGeometry
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IJSONSerializer, IJSONDeserializer, IJSONConverterGeometry

Product Availability

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

See Also:
Serialized Form

Constructor Summary
JSONConverterGeometry()
          Constructs a JSONConverterGeometry using ArcGIS Engine.
JSONConverterGeometry(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JSONConverterGeometry theJSONConverterGeometry = (JSONConverterGeometry) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IJSONReader getReader()
          Obtains JSON Reader.
 IJSONWriter getWriter()
          Obtains JSON Writer.
 int hashCode()
          the hashcode for this object
 void initDeserializer(IJSONReader pReader, IPropertySet pProps)
          Write deserialization options.
 void initSerializer(IJSONWriter pWriter, IPropertySet pProps)
          Writes serialization options.
 void queryJSONEnvelope(IEnvelope pEnvelope, boolean skip_spref, IJSONObject pJSON)
          Queries spatial reference and populates existing IJSONObject
 void queryJSONGeometry(IGeometry pGeom, boolean skip_spref, IJSONObject pJSON)
          Queries geometry and populates existing IJSONObject
 void queryJSONGeoTransformation(IGeoTransformation pSR, IJSONObject pJSON)
          Queries a geographic (datum) transformation object and populates existing IJSONObject
 void queryJSONSpatialReference(ISpatialReference pSR, IJSONObject pJSON)
          Queries spatial reference and populates existing IJSONObject
 IEnvelope readEnvelope(IJSONReader pReader)
          Reads point object.
 IGeometry readGeometry(IJSONReader pReader, int geomType, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads geometry object.
 IGeoTransformation readGeoTransformation(IJSONReader pReader)
          Reads a geographic (datum) transformation object.
 IMultipoint readMultipoint(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads point object.
 Object readObject(GUID riid, IPropertySet pProps)
          Deserialize an object.
 IPoint readPoint(IJSONReader pReader)
          Reads point object.
 IPolygon readPolygon(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads point object.
 IPolyline readPolyline(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads point object.
 ISpatialReference readSpatialReference(IJSONReader pReader)
          Reads spatial reference object.
 IEnvelope toEnvelope(IJSONObject pJSONObject)
          Reads envelope from a JSON object.
 IGeometry toGeometry(IJSONObject pJSONObject, int geomType, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads geometry object from JSON object.
 IGeoTransformation toGeoTransformation(IJSONObject pJSONObject)
          Reads a geographic (datum) transformation object from a JSON object.
 IMultipoint toMultipoint(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads multipoint from a JSON object.
 IPoint toPoint(IJSONObject pJSONObject)
          Reads IPoint from a JSON object.
 IPolygon toPolygon(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads polygon from a JSON object.
 IPolyline toPolyline(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs)
          Reads polyline from a JSON object.
 ISpatialReference toSpatialReference(IJSONObject pJSONObject)
          Reads spatial reference from a JSON object.
 void writeGeometry(IJSONWriter pWriter, String propname, IGeometry pGeom, boolean skip_spref)
          Writes geometry object.
 void writeGeoTransformation(IJSONWriter pWriter, String propname, IGeoTransformation pSR)
          Writes a geographic (datum) transformation object.
 void writeObject(Object pUnk, IPropertySet pProps)
          Serializes an object.
 void writeSpatialReference(IJSONWriter pWriter, String propname, ISpatialReference pSR)
          Writes spatial reference object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

JSONConverterGeometry

public JSONConverterGeometry()
                      throws IOException,
                             UnknownHostException
Constructs a JSONConverterGeometry using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

JSONConverterGeometry

public JSONConverterGeometry(Object obj)
                      throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JSONConverterGeometry theJSONConverterGeometry = (JSONConverterGeometry) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getWriter

public IJSONWriter getWriter()
                      throws IOException,
                             AutomationException
Obtains JSON Writer.

Product Availability

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

Specified by:
getWriter in interface IJSONSerializer
Returns:
A reference to a com.esri.arcgis.system.IJSONWriter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initSerializer

public void initSerializer(IJSONWriter pWriter,
                           IPropertySet pProps)
                    throws IOException,
                           AutomationException
Writes serialization options.

Product Availability

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

Specified by:
initSerializer in interface IJSONSerializer
Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeObject

public void writeObject(Object pUnk,
                        IPropertySet pProps)
                 throws IOException,
                        AutomationException
Serializes an object.

Product Availability

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

Specified by:
writeObject in interface IExternalSerializer
Parameters:
pUnk - A reference to another Object (IUnknown) (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReader

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

Product Availability

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

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

initDeserializer

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

Product Availability

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

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readObject

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

Product Availability

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

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeSpatialReference

public void writeSpatialReference(IJSONWriter pWriter,
                                  String propname,
                                  ISpatialReference pSR)
                           throws IOException,
                                  AutomationException
Writes spatial reference object. Pass NULL as propname to write a standalone JSON object.

Product Availability

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

Specified by:
writeSpatialReference in interface IJSONConverterGeometry
Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
propname - The propname (in)
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeGeoTransformation

public void writeGeoTransformation(IJSONWriter pWriter,
                                   String propname,
                                   IGeoTransformation pSR)
                            throws IOException,
                                   AutomationException
Writes a geographic (datum) transformation object. Pass NULL as propname to write a standalone JSON object.

Product Availability

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

Specified by:
writeGeoTransformation in interface IJSONConverterGeometry
Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
propname - The propname (in)
pSR - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeGeometry

public void writeGeometry(IJSONWriter pWriter,
                          String propname,
                          IGeometry pGeom,
                          boolean skip_spref)
                   throws IOException,
                          AutomationException
Writes geometry object.

Product Availability

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

Specified by:
writeGeometry in interface IJSONConverterGeometry
Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
propname - The propname (in)
pGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
skip_spref - The skip_spref (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJSONSpatialReference

public void queryJSONSpatialReference(ISpatialReference pSR,
                                      IJSONObject pJSON)
                               throws IOException,
                                      AutomationException
Queries spatial reference and populates existing IJSONObject

Product Availability

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

Specified by:
queryJSONSpatialReference in interface IJSONConverterGeometry
Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJSONGeoTransformation

public void queryJSONGeoTransformation(IGeoTransformation pSR,
                                       IJSONObject pJSON)
                                throws IOException,
                                       AutomationException
Queries a geographic (datum) transformation object and populates existing IJSONObject

Product Availability

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

Specified by:
queryJSONGeoTransformation in interface IJSONConverterGeometry
Parameters:
pSR - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJSONEnvelope

public void queryJSONEnvelope(IEnvelope pEnvelope,
                              boolean skip_spref,
                              IJSONObject pJSON)
                       throws IOException,
                              AutomationException
Queries spatial reference and populates existing IJSONObject

Product Availability

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

Specified by:
queryJSONEnvelope in interface IJSONConverterGeometry
Parameters:
pEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
skip_spref - The skip_spref (in)
pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJSONGeometry

public void queryJSONGeometry(IGeometry pGeom,
                              boolean skip_spref,
                              IJSONObject pJSON)
                       throws IOException,
                              AutomationException
Queries geometry and populates existing IJSONObject

Product Availability

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

Specified by:
queryJSONGeometry in interface IJSONConverterGeometry
Parameters:
pGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
skip_spref - The skip_spref (in)
pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readSpatialReference

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

Product Availability

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

Specified by:
readSpatialReference in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
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.

readGeoTransformation

public IGeoTransformation readGeoTransformation(IJSONReader pReader)
                                         throws IOException,
                                                AutomationException
Reads a geographic (datum) transformation object.

Product Availability

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

Specified by:
readGeoTransformation in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeoTransformation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readGeometry

public IGeometry readGeometry(IJSONReader pReader,
                              int geomType,
                              boolean bDefaultHasZs,
                              boolean bDefaultHasMs)
                       throws IOException,
                              AutomationException
Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure.

Product Availability

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

Specified by:
readGeometry in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (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.

readPoint

public IPoint readPoint(IJSONReader pReader)
                 throws IOException,
                        AutomationException
Reads point object.

Product Availability

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

Specified by:
readPoint in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readMultipoint

public IMultipoint readMultipoint(IJSONReader pReader,
                                  boolean bDefaultHasZs,
                                  boolean bDefaultHasMs)
                           throws IOException,
                                  AutomationException
Reads point object.

Product Availability

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

Specified by:
readMultipoint in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IMultipoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readPolygon

public IPolygon readPolygon(IJSONReader pReader,
                            boolean bDefaultHasZs,
                            boolean bDefaultHasMs)
                     throws IOException,
                            AutomationException
Reads point object.

Product Availability

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

Specified by:
readPolygon in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readPolyline

public IPolyline readPolyline(IJSONReader pReader,
                              boolean bDefaultHasZs,
                              boolean bDefaultHasMs)
                       throws IOException,
                              AutomationException
Reads point object.

Product Availability

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

Specified by:
readPolyline in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readEnvelope

public IEnvelope readEnvelope(IJSONReader pReader)
                       throws IOException,
                              AutomationException
Reads point object.

Product Availability

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

Specified by:
readEnvelope in interface IJSONConverterGeometry
Parameters:
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toGeometry

public IGeometry toGeometry(IJSONObject pJSONObject,
                            int geomType,
                            boolean bDefaultHasZs,
                            boolean bDefaultHasMs)
                     throws IOException,
                            AutomationException
Reads geometry object from JSON object.

Product Availability

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

Specified by:
toGeometry in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (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.

toEnvelope

public IEnvelope toEnvelope(IJSONObject pJSONObject)
                     throws IOException,
                            AutomationException
Reads envelope from a JSON object.

Product Availability

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

Specified by:
toEnvelope in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toSpatialReference

public ISpatialReference toSpatialReference(IJSONObject pJSONObject)
                                     throws IOException,
                                            AutomationException
Reads spatial reference from a JSON object.

Product Availability

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

Specified by:
toSpatialReference in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
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.

toGeoTransformation

public IGeoTransformation toGeoTransformation(IJSONObject pJSONObject)
                                       throws IOException,
                                              AutomationException
Reads a geographic (datum) transformation object from a JSON object.

Product Availability

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

Specified by:
toGeoTransformation in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeoTransformation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPoint

public IPoint toPoint(IJSONObject pJSONObject)
               throws IOException,
                      AutomationException
Reads IPoint from a JSON object.

Product Availability

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

Specified by:
toPoint in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toMultipoint

public IMultipoint toMultipoint(IJSONObject pJSONObject,
                                boolean bDefaultHasZs,
                                boolean bDefaultHasMs)
                         throws IOException,
                                AutomationException
Reads multipoint from a JSON object.

Product Availability

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

Specified by:
toMultipoint in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IMultipoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPolygon

public IPolygon toPolygon(IJSONObject pJSONObject,
                          boolean bDefaultHasZs,
                          boolean bDefaultHasMs)
                   throws IOException,
                          AutomationException
Reads polygon from a JSON object.

Product Availability

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

Specified by:
toPolygon in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPolyline

public IPolyline toPolyline(IJSONObject pJSONObject,
                            boolean bDefaultHasZs,
                            boolean bDefaultHasMs)
                     throws IOException,
                            AutomationException
Reads polyline from a JSON object.

Product Availability

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

Specified by:
toPolyline in interface IJSONConverterGeometry
Parameters:
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
bDefaultHasZs - The bDefaultHasZs (in)
bDefaultHasMs - The bDefaultHasMs (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.