Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » function » [javadoc | source]
org.jfree.report.function
public interface: ExpressionRuntime [javadoc | source]

All Known Implementing Classes:
    DataRowRuntime, InlineDataRowRuntime, LayoutExpressionRuntime, ParameterExpressionRuntime

The expression runtime encapsulates all properties of the current report processing run that might be needed to successfully evaluate an expression. The runtime grants access to the DataRow, the TableModel of the current report and the ProcessingContext.
Method from org.jfree.report.function.ExpressionRuntime Summary:
getConfiguration,   getCurrentRow,   getData,   getDataRow,   getDataSchema,   getExportDescriptor,   getProcessingContext,   getResourceBundleFactory
Method from org.jfree.report.function.ExpressionRuntime Detail:
 public Configuration getConfiguration()
    Returns the report configuration that was used to initiate this processing run.
 public int getCurrentRow()
    Returns the number of the row in the tablemodel that is currently being processed.
 public TableModel getData()
    Grants access to the tablemodel was granted using report properties, now direct.
 public DataRow getDataRow()
    Returns the current data-row. The datarow can be used to access the computed values of all expressions and functions and the current row in the tablemodel.
 public DataSchema getDataSchema()
 public String getExportDescriptor()
    Returns the current export descriptor as returned by the OutputProcessorMetaData object. The output descriptor is a simple string collections consisting of the following components: exportclass/type/subtype

    For example, the PDF export would be: pageable/pdf and the StreamHTML export would return table/html/stream

 public ProcessingContext getProcessingContext()
    Returns the current processing context.
 public ResourceBundleFactory getResourceBundleFactory()
    Returns the resource-bundle factory of current processing context.