Interface JRDataSource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getFieldValue​(JRField jrField)
      Gets the field value for the current position.
      boolean next()
      Tries to position the cursor on the next element in the data source.
    • Method Detail

      • next

        boolean next()
              throws JRException
        Tries to position the cursor on the next element in the data source.
        Returns:
        true if there is a next record, false otherwise
        Throws:
        JRException - if any error occurs while trying to move to the next element
      • getFieldValue

        java.lang.Object getFieldValue​(JRField jrField)
                                throws JRException
        Gets the field value for the current position.
        Returns:
        an object containing the field value. The object type must be the field object type.
        Throws:
        JRException