Package com.esri.core.geometry
Class OperatorImportFromJsonCursor
- java.lang.Object
-
- com.esri.core.geometry.MapGeometryCursor
-
- com.esri.core.geometry.OperatorImportFromJsonCursor
-
class OperatorImportFromJsonCursor extends MapGeometryCursor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
m_index
(package private) JsonReaderCursor
m_inputJsonParsers
(package private) int
m_type
-
Constructor Summary
Constructors Constructor Description OperatorImportFromJsonCursor(int type, JsonReaderCursor jsonParsers)
-
Method Summary
-
-
-
Field Detail
-
m_inputJsonParsers
JsonReaderCursor m_inputJsonParsers
-
m_type
int m_type
-
m_index
int m_index
-
-
Constructor Detail
-
OperatorImportFromJsonCursor
public OperatorImportFromJsonCursor(int type, JsonReaderCursor jsonParsers)
-
-
Method Detail
-
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
public MapGeometry 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
static MapGeometry importFromJsonParser(int gt, JsonReader parser)
-
fromJsonToUnknown
public static MapGeometry fromJsonToUnknown(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJsonToEnvelope
public static MapGeometry fromJsonToEnvelope(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJsonToPoint
public static MapGeometry fromJsonToPoint(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJsonToPolygon
public static MapGeometry fromJsonToPolygon(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJsonToPolyline
public static MapGeometry fromJsonToPolyline(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJsonToMultiPoint
public static MapGeometry fromJsonToMultiPoint(JsonReader parser) throws java.lang.Exception
- Throws:
java.lang.Exception
-
windup
private static void windup(JsonReader parser)
-
readDouble
private static double readDouble(JsonReader parser)
-
importFromJsonMultiPoint
private static Geometry importFromJsonMultiPoint(JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importFromJsonMultiPath
private static Geometry importFromJsonMultiPath(boolean b_polygon, JsonReader parser, AttributeStreamOfDbl as, AttributeStreamOfDbl bs) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-