public class JSONConverterGeometry extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IJSONSerializer, IJSONDeserializer, IJSONConverterGeometry, IJSONConverterGeometry2
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 =
IID, IIDab718cdf_0c06_4d18_9aa4_a6c54b2bc28c, xxDummyIIDe760e960_f144_4b30_930b_5f8056e4e305IID, IID1e6dc0eb_5c8a_4401_a8af_bb5602ddfb7e, xxDummyIID09134de8_4147_4564_82bd_6cc18414c389IID, IIDe263189e_4fc0_4ff5_91a1_f5df7042a77d, xxDummyIID7cc69669_7023_4dd6_9cdc_3a75325673d7| Constructor and Description |
|---|
JSONConverterGeometry()
Constructs a JSONConverterGeometry using ArcGIS Engine.
|
JSONConverterGeometry(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
JSONConverterGeometry theJSONConverterGeometry = (JSONConverterGeometry) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 envelope 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
|
void |
queryJSONUnit(IUnit pUnit,
IJSONObject pJSON)
Query a Unit Object and populates existing IJSONObject.
|
IEnvelope |
readEnvelope(IJSONReader pReader)
Reads envelope 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 multipoint object.
|
java.lang.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 polygon object.
|
IPolyline |
readPolyline(IJSONReader pReader,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
Reads polyline object.
|
ISpatialReference |
readSpatialReference(IJSONReader pReader)
Reads spatial reference object.
|
IUnit |
readUnit(IJSONReader pReader)
Read a unit object.
|
void |
release()
Release this COM object reference
|
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 point 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.
|
IUnit |
toUnit(IJSONObject pJSONObject)
Read a Unit object from a JSON object.
|
void |
writeGeometry(IJSONWriter pWriter,
java.lang.String propname,
IGeometry pGeom,
boolean skip_spref)
Writes geometry object.
|
void |
writeGeoTransformation(IJSONWriter pWriter,
java.lang.String propname,
IGeoTransformation pSR)
Writes a geographic (datum) transformation object.
|
void |
writeObject(java.lang.Object pUnk,
IPropertySet pProps)
Serializes an object.
|
void |
writeSpatialReference(IJSONWriter pWriter,
java.lang.String propname,
ISpatialReference pSR)
Writes spatial reference object.
|
void |
writeUnit(IJSONWriter pWriter,
java.lang.String propname,
IUnit pUnit)
Writes a Units object.
|
public JSONConverterGeometry()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic JSONConverterGeometry(java.lang.Object obj)
throws java.io.IOException
JSONConverterGeometry theJSONConverterGeometry = (JSONConverterGeometry) obj;obj to JSONConverterGeometry.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IJSONWriter getWriter() throws java.io.IOException, AutomationException
getWriter in interface IJSONSerializerjava.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 IJSONSerializerpWriter - 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 IExternalSerializerpUnk - 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 IJSONReader getReader() throws java.io.IOException, AutomationException
getReader in interface IJSONDeserializerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void initDeserializer(IJSONReader pReader, IPropertySet pProps) throws java.io.IOException, AutomationException
initDeserializer in interface IJSONDeserializerpReader - A reference to a com.esri.arcgis.system.IJSONReader (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 java.lang.Object readObject(GUID riid, IPropertySet pProps) throws java.io.IOException, AutomationException
readObject in interface IExternalDeserializerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (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(IJSONWriter pWriter, java.lang.String propname, ISpatialReference pSR) throws java.io.IOException, AutomationException
writeSpatialReference in interface IJSONConverterGeometrypWriter - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeGeoTransformation(IJSONWriter pWriter, java.lang.String propname, IGeoTransformation pSR) throws java.io.IOException, AutomationException
writeGeoTransformation in interface IJSONConverterGeometrypWriter - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeGeometry(IJSONWriter pWriter, java.lang.String propname, IGeometry pGeom, boolean skip_spref) throws java.io.IOException, AutomationException
writeGeometry in interface IJSONConverterGeometrypWriter - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryJSONSpatialReference(ISpatialReference pSR, IJSONObject pJSON) throws java.io.IOException, AutomationException
queryJSONSpatialReference in interface IJSONConverterGeometrypSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryJSONGeoTransformation(IGeoTransformation pSR, IJSONObject pJSON) throws java.io.IOException, AutomationException
queryJSONGeoTransformation in interface IJSONConverterGeometrypSR - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryJSONEnvelope(IEnvelope pEnvelope, boolean skip_spref, IJSONObject pJSON) throws java.io.IOException, AutomationException
queryJSONEnvelope in interface IJSONConverterGeometrypEnvelope - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryJSONGeometry(IGeometry pGeom, boolean skip_spref, IJSONObject pJSON) throws java.io.IOException, AutomationException
queryJSONGeometry in interface IJSONConverterGeometrypGeom - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference readSpatialReference(IJSONReader pReader) throws java.io.IOException, AutomationException
readSpatialReference in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeoTransformation readGeoTransformation(IJSONReader pReader) throws java.io.IOException, AutomationException
readGeoTransformation in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeometry readGeometry(IJSONReader pReader, int geomType, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
readGeometry in interface IJSONConverterGeometrypReader - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint readPoint(IJSONReader pReader) throws java.io.IOException, AutomationException
readPoint in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IMultipoint readMultipoint(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
readMultipoint in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPolygon readPolygon(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
readPolygon in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPolyline readPolyline(IJSONReader pReader, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
readPolyline in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope readEnvelope(IJSONReader pReader) throws java.io.IOException, AutomationException
readEnvelope in interface IJSONConverterGeometrypReader - A reference to a com.esri.arcgis.system.IJSONReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeometry toGeometry(IJSONObject pJSONObject, int geomType, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
toGeometry in interface IJSONConverterGeometrypJSONObject - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope toEnvelope(IJSONObject pJSONObject) throws java.io.IOException, AutomationException
toEnvelope in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference toSpatialReference(IJSONObject pJSONObject) throws java.io.IOException, AutomationException
toSpatialReference in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeoTransformation toGeoTransformation(IJSONObject pJSONObject) throws java.io.IOException, AutomationException
toGeoTransformation in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint toPoint(IJSONObject pJSONObject) throws java.io.IOException, AutomationException
toPoint in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IMultipoint toMultipoint(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
toMultipoint in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPolygon toPolygon(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
toPolygon in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPolyline toPolyline(IJSONObject pJSONObject, boolean bDefaultHasZs, boolean bDefaultHasMs) throws java.io.IOException, AutomationException
toPolyline in interface IJSONConverterGeometrypJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryJSONUnit(IUnit pUnit, IJSONObject pJSON) throws java.io.IOException, AutomationException
queryJSONUnit in interface IJSONConverterGeometry2pUnit - A reference to a com.esri.arcgis.geometry.IUnit (in)pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUnit toUnit(IJSONObject pJSONObject) throws java.io.IOException, AutomationException
toUnit in interface IJSONConverterGeometry2pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUnit readUnit(IJSONReader pReader) throws java.io.IOException, AutomationException
readUnit in interface IJSONConverterGeometry2pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeUnit(IJSONWriter pWriter, java.lang.String propname, IUnit pUnit) throws java.io.IOException, AutomationException
writeUnit in interface IJSONConverterGeometry2pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)propname - The propname (in)pUnit - A reference to a com.esri.arcgis.geometry.IUnit (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.