Package 

Interface CursorParser

    • Method Summary

      Modifier and Type Method Description
      abstract T newObject(Cursor cursor) Extracts an object from a Cursor.
      • Methods inherited from class java.lang.Object

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

      • newObject

         abstract T newObject(Cursor cursor)

        Extracts an object from a Cursor. This method assumes that the Cursor contains all the needed columns and that the Cursor is positioned to a row that is ready to be read. This method, in turn, will not mutate the Cursor or move the Cursor position.

        Parameters:
        cursor - Cursor from a query to a contract this parser can handle.