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 |
---|---|
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 elementObject getFieldValue(JRField jrField) throws JRException
JRException
Copyright © 2015. All rights reserved.