Class MetaDataStyleEvaluator
- 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.MetaDataStyleEvaluator
-
- All Implemented Interfaces:
Serializable
,Cloneable
,EventListener
,PageEventListener
,ReportListener
,Expression
,Function
,LayoutProcessorFunction
,StructureFunction
public class MetaDataStyleEvaluator extends AbstractElementFormatFunction implements StructureFunction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaDataStyleEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Clones the expression.protected boolean
evaluateElement(ReportElement e)
Evaluates all defined style-expressions of the given element.org.pentaho.reporting.engine.classic.core.function.sys.MetaDataStyleEvaluator.VolatileDataAttributeContext
getAttributeContext()
MetaDataStyleEvaluator
getInstance()
Return a completly separated copy of this function.int
getProcessingPriority()
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
getDependencyLevel, getElement, getValue, groupFinished, groupStarted, isExecutable, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, processBand, processFooterBands, processGroupHeaders, processHeaderBands, processRootBand, recordCacheHit, recordCacheMiss, reportCachePerformance, reportDone, reportFinished, reportInitialized, reportStarted, setElement
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
summaryRowSelection
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression
getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, getValue, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener
groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted, summaryRowSelection
-
-
-
-
Method Detail
-
getProcessingPriority
public int getProcessingPriority()
- Specified by:
getProcessingPriority
in interfaceStructureFunction
-
getAttributeContext
public org.pentaho.reporting.engine.classic.core.function.sys.MetaDataStyleEvaluator.VolatileDataAttributeContext getAttributeContext()
-
evaluateElement
protected boolean evaluateElement(ReportElement e)
Evaluates all defined style-expressions of the given element.- Specified by:
evaluateElement
in classAbstractElementFormatFunction
- Parameters:
e
- the element that should be updated.- Returns:
- true, if the element can be styled.
-
clone
public Object clone() throws CloneNotSupportedException
Clones the expression. The expression should be reinitialized after the cloning.Expressions maintain no state, cloning is done at the beginning of the report processing to disconnect the expression from any other object space.
- Specified by:
clone
in interfaceExpression
- Overrides:
clone
in classAbstractExpression
- Returns:
- a clone of this expression.
- Throws:
CloneNotSupportedException
- this should never happen.
-
getInstance
public MetaDataStyleEvaluator 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 interfaceExpression
- Overrides:
getInstance
in classAbstractElementFormatFunction
- Returns:
- a copy of this function.
-
-