Package com.esri.core.geometry
Class OperatorImportFromJsonCursor
java.lang.Object
com.esri.core.geometry.MapGeometryCursor
com.esri.core.geometry.OperatorImportFromJsonCursor
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) JsonReaderCursor
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapGeometry
fromJsonToEnvelope
(JsonReader parser) static MapGeometry
fromJsonToMultiPoint
(JsonReader parser) static MapGeometry
fromJsonToPoint
(JsonReader parser) static MapGeometry
fromJsonToPolygon
(JsonReader parser) static MapGeometry
fromJsonToPolyline
(JsonReader parser) static MapGeometry
fromJsonToUnknown
(JsonReader parser) int
Returns the ID of the current geometry.private static Geometry
importFromJsonMultiPath
(boolean b_polygon, JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) private static Geometry
importFromJsonMultiPoint
(JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) (package private) static MapGeometry
importFromJsonParser
(int gt, JsonReader parser) next()
Moves the cursor to the next ProjectedGeometry.private static double
readDouble
(JsonReader parser) private static void
windup
(JsonReader parser)
-
Field Details
-
m_inputJsonParsers
JsonReaderCursor m_inputJsonParsers -
m_type
int m_type -
m_index
int m_index
-
-
Constructor Details
-
OperatorImportFromJsonCursor
-
-
Method Details
-
getGeometryID
public int getGeometryID()Description copied from class:MapGeometryCursor
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:
getGeometryID
in classMapGeometryCursor
-
next
Description copied from class:MapGeometryCursor
Moves the cursor to the next ProjectedGeometry. Returns null when reached the end.- Specified by:
next
in classMapGeometryCursor
-
importFromJsonParser
-
fromJsonToUnknown
- Throws:
Exception
-
fromJsonToEnvelope
- Throws:
Exception
-
fromJsonToPoint
- Throws:
Exception
-
fromJsonToPolygon
- Throws:
Exception
-
fromJsonToPolyline
- Throws:
Exception
-
fromJsonToMultiPoint
- Throws:
Exception
-
windup
-
readDouble
-
importFromJsonMultiPoint
private static Geometry importFromJsonMultiPoint(JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) throws Exception - Throws:
Exception
-
importFromJsonMultiPath
private static Geometry importFromJsonMultiPath(boolean b_polygon, JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) throws Exception - Throws:
Exception
-