public class BookmarksFlatDataSource extends JRAbstractBeanDataSource
JRAbstractBeanDataSource.DefaultPropertyNameProvider
CURRENT_BEAN_MAPPING, EXCEPTION_MESSAGE_KEY_BEAN_FIELD_VALUE_NOT_RETRIEVED, FIELD_DESCRIPTION_PROPERTY_NAME_PROVIDER, FIELD_NAME_PROPERTY_NAME_PROVIDER, PROPERTY_JAVABEAN_FIELD_PROPERTY, 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, isCurrentBeanMapping
public BookmarksFlatDataSource(BookmarkHelper bookmarks)
public void moveFirst() throws JRException
JRRewindableDataSource
JRException
public boolean next() throws JRException
JRDataSource
JRException
- if any error occurs while trying to move to the next elementpublic Object getFieldValue(JRField field) throws JRException
JRDataSource
JRException
Copyright © 2019 TIBCO Software Inc.. All rights reserved.