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 MapGeometryfromJsonToEnvelope(JsonReader parser) static MapGeometryfromJsonToMultiPoint(JsonReader parser) static MapGeometryfromJsonToPoint(JsonReader parser) static MapGeometryfromJsonToPolygon(JsonReader parser) static MapGeometryfromJsonToPolyline(JsonReader parser) static MapGeometryfromJsonToUnknown(JsonReader parser) intReturns the ID of the current geometry.private static GeometryimportFromJsonMultiPath(boolean b_polygon, JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) private static GeometryimportFromJsonMultiPoint(JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) (package private) static MapGeometryimportFromJsonParser(int gt, JsonReader parser) next()Moves the cursor to the next ProjectedGeometry.private static doublereadDouble(JsonReader parser) private static voidwindup(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:MapGeometryCursorReturns 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:
getGeometryIDin classMapGeometryCursor
-
next
Description copied from class:MapGeometryCursorMoves the cursor to the next ProjectedGeometry. Returns null when reached the end.- Specified by:
nextin 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
-