org.jfree.report.data

Class PrecomputedValueRegistryBuilder

Implemented Interfaces:
PrecomputedValueRegistry

public class PrecomputedValueRegistryBuilder
extends java.lang.Object
implements PrecomputedValueRegistry

This class is currently very primitive and enforces a recomputation of precomputed values each time.
Author:
Thomas Morgner

Constructor Summary

PrecomputedValueRegistryBuilder()

Method Summary

void
addFunction(String name, Object value)
PrecomputeNode
currentNode()
void
finishElement(PrecomputeNodeKey element)
void
finishElementPrecomputation(PrecomputeNodeKey element)
void
startElement(PrecomputeNodeKey element)
void
startElementPrecomputation(PrecomputeNodeKey element)

Constructor Details

PrecomputedValueRegistryBuilder

public PrecomputedValueRegistryBuilder()

Method Details

addFunction

public void addFunction(String name,
                        Object value)
Specified by:
addFunction in interface PrecomputedValueRegistry

currentNode

public PrecomputeNode currentNode()
Specified by:
currentNode in interface PrecomputedValueRegistry

finishElement

public void finishElement(PrecomputeNodeKey element)
Specified by:
finishElement in interface PrecomputedValueRegistry

finishElementPrecomputation

public void finishElementPrecomputation(PrecomputeNodeKey element)
Specified by:
finishElementPrecomputation in interface PrecomputedValueRegistry

startElement

public void startElement(PrecomputeNodeKey element)
Specified by:
startElement in interface PrecomputedValueRegistry

startElementPrecomputation

public void startElementPrecomputation(PrecomputeNodeKey element)
Specified by:
startElementPrecomputation in interface PrecomputedValueRegistry