Class JsonReaderCursor

  • Direct Known Subclasses:
    SimpleJsonReaderCursor

    abstract class JsonReaderCursor
    extends java.lang.Object
    An abstract JsonReader Cursor class.
    • Method Summary

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

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

      • JsonReaderCursor

        JsonReaderCursor()
    • Method Detail

      • next

        public abstract JsonReader next()
        Moves the cursor to the next JsonReader. Returns null when reached the end.
      • getID

        public abstract int getID()
        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.