Class SimpleJsonCursor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int m_count  
      (package private) int m_index  
      (package private) java.lang.String m_jsonString  
      (package private) java.lang.String[] m_jsonStringArray  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleJsonCursor​(java.lang.String jsonString)  
      SimpleJsonCursor​(java.lang.String[] jsonStringArray)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getID()
      Returns the ID of the current geometry.
      java.lang.String next()
      Moves the cursor to the next string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_jsonString

        java.lang.String m_jsonString
      • m_jsonStringArray

        java.lang.String[] m_jsonStringArray
      • m_index

        int m_index
      • m_count

        int m_count
    • Constructor Detail

      • SimpleJsonCursor

        public SimpleJsonCursor​(java.lang.String jsonString)
      • SimpleJsonCursor

        public SimpleJsonCursor​(java.lang.String[] jsonStringArray)
    • 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 class JsonCursor
      • 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 class JsonCursor