Save This Page
Home » struts-2.1.8.1-src » org.apache » struts2 » views » jasperreports » [javadoc | source]
org.apache.struts2.views.jasperreports
public class: ValueStackDataSource [javadoc | source]
java.lang.Object
   org.apache.struts2.views.jasperreports.ValueStackDataSource

All Implemented Interfaces:
    net.sf.jasperreports.engine.JRDataSource

Ported to Struts.
Field Summary
 Iterator iterator     
 ValueStack valueStack     
 boolean firstTimeThrough     
Constructor:
 public ValueStackDataSource(ValueStack valueStack,
    String dataSource) 
    Create a value stack data source on the given iterable property
    Parameters:
    valueStack - The value stack to base the data source on
    dataSource - The property to iterate over for the report
Method from org.apache.struts2.views.jasperreports.ValueStackDataSource Summary:
getFieldValue,   next
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.views.jasperreports.ValueStackDataSource Detail:
 public Object getFieldValue(JRField field) throws JRException 
    Get the value of a given field
 public boolean next() throws JRException 
    Is there any more data