org.jfree.report.modules.data.beans
public class StaticReportDataFactory extends java.lang.Object implements ReportDataFactory
Constructor and Description |
---|
StaticReportDataFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the report data factory and all report data instances that have
been returned by this instance.
|
ReportDataFactory |
derive()
Derives a freshly initialized report data factory, which is independend of
the original data factory.
|
protected java.lang.ClassLoader |
getClassLoader() |
void |
open() |
ReportData |
queryData(java.lang.String query,
DataSet parameters)
Queries a datasource.
|
public ReportData queryData(java.lang.String query, DataSet parameters) throws ReportDataFactoryException
queryData
in interface ReportDataFactory
query
- parameters
- ReportDataFactoryException
protected java.lang.ClassLoader getClassLoader()
public void open()
open
in interface ReportDataFactory
public void close()
ReportDataFactory
close
in interface ReportDataFactory
public ReportDataFactory derive()
derive
in interface ReportDataFactory