| java.lang.Object org.jfree.report.modules.misc.datafactory.StaticDataFactory
All known Subclasses: org.jfree.report.modules.misc.datafactory.NamedStaticDataFactory, org.pentaho.plugin.jfreereport.helper.PentahoDataFactory,
StaticDataFactory | public class StaticDataFactory implements DataFactory,Cloneable(Code) | | This report data factory uses introspection to search for a report data
source. The query can have the following formats:
<full-qualified-classname>#methodName(Parameters)
<full-qualified-classname>(constructorparams)#methodName(Parameters)
<full-qualified-classname>(constructorparams)
author: Thomas Morgner |
StaticDataFactory | public StaticDataFactory()(Code) | | DefaultConstructor.
|
close | public void close()(Code) | | Closes the data factory and frees all resources held by this instance.
This method is empty.
|
getClassLoader | protected ClassLoader getClassLoader()(Code) | | Returns the current classloader.
the current classloader. |
open | public void open()(Code) | | Opens the data factory. This initializes everything. Performing queries
on data factories which have not yet been opened will result in exceptions.
This method does nothing at all.
|
queryData | public TableModel queryData(String query, DataRow parameters) throws ReportDataFactoryException(Code) | | Queries a datasource. The string 'query' defines the name of the query. The
Parameterset given here may contain more data than actually needed.
The dataset may change between two calls, do not assume anything!
Parameters: query - the method call. Parameters: parameters - the set of parameters. the tablemodel from the executed method call, never null. |
|
|