public interface JRDataSource
Every time a report is filled, an instance of this interface is supplied or created behind the scenes by the reporting engine.
JasperReports provides default implementations of result set, bean collections and bean arrays data sources.
Modifier and Type | Method and 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.
|
boolean next() throws JRException
JRException
- if any error occurs while trying to move to the next elementjava.lang.Object getFieldValue(JRField jrField) throws JRException
JRException
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com