| |
|
| java.lang.Object com.opensymphony.webwork.views.jasperreports.OgnlValueStackDataSource
OgnlValueStackDataSource | public class OgnlValueStackDataSource implements JRDataSource(Code) | | Ported to WebWork2.
author: <a href="hermanns@aixcept.de">Rainer Hermanns</a> version: $Id: OgnlValueStackDataSource.java 1282 2005-10-09 04:26:58Z plightbo $ |
Method Summary | |
public Object | getFieldValue(JRField field) Get the value of a given field
Parameters: field - The field to get the value for. | public boolean | next() |
firstTimeThrough | boolean firstTimeThrough(Code) | | |
OgnlValueStackDataSource | public OgnlValueStackDataSource(OgnlValueStack valueStack, String dataSource)(Code) | | Create a value stack data source on the given iterable property
Parameters: valueStack - The value stack to base the data source on Parameters: dataSource - The property to iterate over for the report |
getFieldValue | public Object getFieldValue(JRField field) throws JRException(Code) | | Get the value of a given field
Parameters: field - The field to get the value for. The expression language to get the valueof the field is either taken from the description property or from the name of the fieldif the description is null . an Object containing the field value or a newOgnlValueStackDataSource object if the field value evaluates toan object that can be iterated over. throws: JRException - if there is a problem obtaining the value |
next | public boolean next() throws JRException(Code) | | Is there any more data
true if there are more elements to iterate over andfalse otherwise throws: JRException - if there is a problem determining whether thereis more data |
|
|
|