org.pentaho.reporting.engine.classic.core.function.sys
Class StyleExpressionsEvaluator
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
org.pentaho.reporting.engine.classic.core.function.sys.StyleExpressionsEvaluator
- All Implemented Interfaces:
- Serializable, Cloneable, EventListener, PageEventListener, ReportListener, Expression, Function, LayoutProcessorFunction, StructureFunction
public class StyleExpressionsEvaluator
- extends AbstractElementFormatFunction
- implements StructureFunction
Evaluates style-expressions and updates the stylesheet. This is an internal helper function. It is not meant to be
used by end-users and manually adding this function to a report will cause funny side-effects.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction |
getElement, getValue, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportFinished, reportStarted, setElement |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, getValue, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
StyleExpressionsEvaluator
public StyleExpressionsEvaluator()
- Default Constructor.
reportInitialized
public void reportInitialized(ReportEvent event)
- Receives notification that report generation initializes the current run.
The event carries a
ReportState.Started state. Use this to initialize the report.
- Specified by:
reportInitialized
in interface ReportListener
- Overrides:
reportInitialized
in class AbstractElementFormatFunction
- Parameters:
event
- The event.
getProcessingPriority
public int getProcessingPriority()
- Specified by:
getProcessingPriority
in interface StructureFunction
getDependencyLevel
public int getDependencyLevel()
- Returns the dependency level for the expression (controls evaluation order for expressions and functions).
- Specified by:
getDependencyLevel
in interface Expression
- Overrides:
getDependencyLevel
in class AbstractExpression
- Returns:
- the level.
getInstance
public Expression getInstance()
- Description copied from class:
AbstractExpression
- Return a completly separated copy of this function. The copy does no longer share any changeable objects with the
original function.
- Specified by:
getInstance
in interface Expression
- Overrides:
getInstance
in class AbstractExpression
- Returns:
- a copy of this function.