|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geometry.JSONConverterGeometry
public class JSONConverterGeometry
COM Class 'JSONConverterGeometry'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeometry.olb'
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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.system.IJSONSerializer |
|---|
IID, IIDab718cdf_0c06_4d18_9aa4_a6c54b2bc28c, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IExternalSerializer |
|---|
IIDe760e960_f144_4b30_930b_5f8056e4e305 |
| 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.geometry.IJSONConverterGeometry |
|---|
IID, IID7cc69669_7023_4dd6_9cdc_3a75325673d7, xxDummy |
| Constructor Summary | |
|---|---|
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; |
|
| 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. |
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. |
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 point object. |
IPolyline |
readPolyline(IJSONReader pReader,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
Reads point object. |
ISpatialReference |
readSpatialReference(IJSONReader pReader)
Reads spatial reference object. |
void |
release()
Release a JSONConverterGeometry. |
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,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONConverterGeometry()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public JSONConverterGeometry(java.lang.Object obj)
throws java.io.IOException
JSONConverterGeometry theJSONConverterGeometry = (JSONConverterGeometry) obj;
obj to JSONConverterGeometry.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public 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.RemoteObjRef
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||