Package com.esri.core.geometry
Class SimpleJsonReaderCursor
- java.lang.Object
-
- com.esri.core.geometry.JsonReaderCursor
-
- com.esri.core.geometry.SimpleJsonReaderCursor
-
class SimpleJsonReaderCursor extends JsonReaderCursor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
m_count
(package private) int
m_index
(package private) JsonReader
m_jsonParser
(package private) JsonReader[]
m_jsonParserArray
-
Constructor Summary
Constructors Constructor Description SimpleJsonReaderCursor(JsonReader jsonString)
SimpleJsonReaderCursor(JsonReader[] jsonStringArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getID()
Returns the ID of the current geometry.JsonReader
next()
Moves the cursor to the next JsonReader.
-
-
-
Field Detail
-
m_jsonParser
JsonReader m_jsonParser
-
m_jsonParserArray
JsonReader[] m_jsonParserArray
-
m_index
int m_index
-
m_count
int m_count
-
-
Constructor Detail
-
SimpleJsonReaderCursor
public SimpleJsonReaderCursor(JsonReader jsonString)
-
SimpleJsonReaderCursor
public SimpleJsonReaderCursor(JsonReader[] jsonStringArray)
-
-
Method Detail
-
getID
public int getID()
Description copied from class:JsonReaderCursor
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 classJsonReaderCursor
-
next
public JsonReader next()
Description copied from class:JsonReaderCursor
Moves the cursor to the next JsonReader. Returns null when reached the end.- Specified by:
next
in classJsonReaderCursor
-
-