public class JSONConverterGeometry extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IJSONSerializer, IJSONDeserializer, IJSONConverterGeometry
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, xxDummy
IIDe760e960_f144_4b30_930b_5f8056e4e305
IID, IID1e6dc0eb_5c8a_4401_a8af_bb5602ddfb7e, xxDummy
IID09134de8_4147_4564_82bd_6cc18414c389
IID, IID7cc69669_7023_4dd6_9cdc_3a75325673d7, xxDummy
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
|
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.
|
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.
|
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.
|
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.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 IJSONReader getReader() throws java.io.IOException, AutomationException
getReader
in interface IJSONDeserializer
java.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 IJSONDeserializer
pReader
- 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 IExternalDeserializer
riid
- 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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
pSR
- 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 IJSONConverterGeometry
pSR
- 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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
pReader
- 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 IJSONConverterGeometry
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)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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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 IJSONConverterGeometry
pJSONObject
- 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.