org.dbforms.servlets.reports
Class JRDataSourceAbstract

java.lang.Object
  extended by org.dbforms.servlets.reports.JRDataSourceAbstract
All Implemented Interfaces:
net.sf.jasperreports.engine.JRDataSource
Direct Known Subclasses:
JRDataSourceIter, JRDataSourceRSV

public abstract class JRDataSourceAbstract
extends Object
implements net.sf.jasperreports.engine.JRDataSource


Method Summary
 Map getAttributes()
           
 Object getFieldValue(net.sf.jasperreports.engine.JRField field)
           
abstract  Object getFieldValue(String fieldName)
           
abstract  boolean next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public abstract boolean next()
                      throws net.sf.jasperreports.engine.JRException
Specified by:
next in interface net.sf.jasperreports.engine.JRDataSource
Throws:
net.sf.jasperreports.engine.JRException
See Also:
JRDataSource.next()

getFieldValue

public Object getFieldValue(net.sf.jasperreports.engine.JRField field)
                     throws net.sf.jasperreports.engine.JRException
Specified by:
getFieldValue in interface net.sf.jasperreports.engine.JRDataSource
Throws:
net.sf.jasperreports.engine.JRException
See Also:
Philip Grunikiewicz 2004-01-13 Because I had fields defined (dbforms-config.xml) in mix case (ie: creditLimit) and in my XML file, my field was in uppercase (ie: CREDITLIMIT), my field could not be found. Added some logging to help out debugging this type of problem.

getFieldValue

public abstract Object getFieldValue(String fieldName)

getAttributes

public Map getAttributes()
Returns:
Returns the attributes.


Copyright © 2002-2005 DbForms. All Rights Reserved.