Package com.esri.core.geometry
Class OperatorExportToJsonCursor
- java.lang.Object
-
- com.esri.core.geometry.JsonCursor
-
- com.esri.core.geometry.OperatorExportToJsonCursor
-
class OperatorExportToJsonCursor extends JsonCursor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
m_index
(package private) GeometryCursor
m_inputGeometryCursor
(package private) SpatialReference
m_spatialReference
-
Constructor Summary
Constructors Constructor Description OperatorExportToJsonCursor(SpatialReference spatialReference, GeometryCursor geometryCursor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
exportEnvelopeToJson(Envelope env, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportMultiPointToJson(MultiPoint mpt, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportPointToJson(Point pt, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportPolygonToJson(Polygon pp, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportPolylineToJson(Polyline pp, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportPolypathToJson(MultiPath pp, java.lang.String name, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
private static void
exportToJson_(Geometry geometry, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
(package private) static java.lang.String
exportToString(Geometry geometry, SpatialReference spatialReference, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
int
getID()
Returns the ID of the current geometry.java.lang.String
next()
Moves the cursor to the next string.private static void
writeSR(SpatialReference spatialReference, JsonWriter jsonWriter)
-
-
-
Field Detail
-
m_inputGeometryCursor
GeometryCursor m_inputGeometryCursor
-
m_spatialReference
SpatialReference m_spatialReference
-
m_index
int m_index
-
-
Constructor Detail
-
OperatorExportToJsonCursor
public OperatorExportToJsonCursor(SpatialReference spatialReference, GeometryCursor geometryCursor)
-
-
Method Detail
-
getID
public int getID()
Description copied from class:JsonCursor
Returns the ID of the current geometry. The ID is propagated across the operations (when possible). Returns an ID associated with the current Geometry. The ID is passed along and is returned by some operators to preserve relationship between the input and output geometry classes. It is not always possible to preserve an ID during an operation.- Specified by:
getID
in classJsonCursor
-
next
public java.lang.String next()
Description copied from class:JsonCursor
Moves the cursor to the next string. Returns null when reached the end.- Specified by:
next
in classJsonCursor
-
exportToString
static java.lang.String exportToString(Geometry geometry, SpatialReference spatialReference, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportToJson_
private static void exportToJson_(Geometry geometry, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportPolygonToJson
private static void exportPolygonToJson(Polygon pp, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportPolylineToJson
private static void exportPolylineToJson(Polyline pp, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportPolypathToJson
private static void exportPolypathToJson(MultiPath pp, java.lang.String name, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportMultiPointToJson
private static void exportMultiPointToJson(MultiPoint mpt, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportPointToJson
private static void exportPointToJson(Point pt, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
exportEnvelopeToJson
private static void exportEnvelopeToJson(Envelope env, SpatialReference spatialReference, JsonWriter jsonWriter, java.util.Map<java.lang.String,java.lang.Object> exportProperties)
-
writeSR
private static void writeSR(SpatialReference spatialReference, JsonWriter jsonWriter)
-
-