public class BookmarksFlatDataSource extends JRAbstractBeanDataSource
CURRENT_BEAN_MAPPING, EXCEPTION_MESSAGE_KEY_BEAN_FIELD_VALUE_NOT_RETRIEVED, FIELD_DESCRIPTION_PROPERTY_NAME_PROVIDER, FIELD_NAME_PROPERTY_NAME_PROVIDER, propertyNameProvider| Constructor and Description |
|---|
BookmarksFlatDataSource(BookmarkHelper bookmarks) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getFieldValue(JRField field)
Gets the field value for the current position.
|
void |
moveFirst()
Moves back to the first element in the data source.
|
boolean |
next()
Tries to position the cursor on the next element in the data source.
|
getBeanProperty, getFieldValue, getPropertyName, isCurrentBeanMappingpublic BookmarksFlatDataSource(BookmarkHelper bookmarks)
public void moveFirst()
throws JRException
JRRewindableDataSourceJRExceptionpublic boolean next()
throws JRException
JRDataSourceJRException - if any error occurs while trying to move to the next elementpublic Object getFieldValue(JRField field) throws JRException
JRDataSourceJRExceptionCopyright © 2017. All rights reserved.