|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJSONConverterGeometry
Provides direct access to the geometry serialization for AMF and JSON formats.
| Method Summary | |
|---|---|
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. |
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 |
writeSpatialReference(IJSONWriter pWriter,
String propname,
ISpatialReference pSR)
Writes spatial reference object. |
| Method Detail |
|---|
void writeSpatialReference(IJSONWriter pWriter,
String propname,
ISpatialReference pSR)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void writeGeoTransformation(IJSONWriter pWriter,
String propname,
IGeoTransformation pSR)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void writeGeometry(IJSONWriter pWriter,
String propname,
IGeometry pGeom,
boolean skip_spref)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryJSONSpatialReference(ISpatialReference pSR,
IJSONObject pJSON)
throws IOException,
AutomationException
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryJSONGeoTransformation(IGeoTransformation pSR,
IJSONObject pJSON)
throws IOException,
AutomationException
pSR - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)pJSON - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryJSONEnvelope(IEnvelope pEnvelope,
boolean skip_spref,
IJSONObject pJSON)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryJSONGeometry(IGeometry pGeom,
boolean skip_spref,
IJSONObject pJSON)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISpatialReference readSpatialReference(IJSONReader pReader)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeoTransformation readGeoTransformation(IJSONReader pReader)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeometry readGeometry(IJSONReader pReader,
int geomType,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPoint readPoint(IJSONReader pReader)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMultipoint readMultipoint(IJSONReader pReader,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPolygon readPolygon(IJSONReader pReader,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPolyline readPolyline(IJSONReader pReader,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope readEnvelope(IJSONReader pReader)
throws IOException,
AutomationException
pReader - A reference to a com.esri.arcgis.system.IJSONReader (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeometry toGeometry(IJSONObject pJSONObject,
int geomType,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope toEnvelope(IJSONObject pJSONObject)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISpatialReference toSpatialReference(IJSONObject pJSONObject)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeoTransformation toGeoTransformation(IJSONObject pJSONObject)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPoint toPoint(IJSONObject pJSONObject)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMultipoint toMultipoint(IJSONObject pJSONObject,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPolygon toPolygon(IJSONObject pJSONObject,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPolyline toPolyline(IJSONObject pJSONObject,
boolean bDefaultHasZs,
boolean bDefaultHasMs)
throws IOException,
AutomationException
pJSONObject - A reference to a com.esri.arcgis.system.IJSONObject (in)bDefaultHasZs - The bDefaultHasZs (in)bDefaultHasMs - The bDefaultHasMs (in)
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 | ||||||||