Context used to store data shared by virtualized objects resulted from a report fill process.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRVirtualizationContext.java 1254 2006-05-15 08:57:30Z lucianc $
Returns the virtualization context registered for a print object.
When the engine fills a report using a virtualizer, it
JRVirtualizationContext.register(JRVirtualizationContext,JasperPrint) registers the virtualization context with the generated
JasperPrint JasperPrint object so that the caller
would be able to retrieve the context based on the returned print object.
Parameters: print - a print object the virtualization context registered for the print object, or null if no contexthas been registered
Determines whether a cached image renderer for a specified ID exists.
Parameters: id - the ID true iff the context contains a cached renderer with the specified ID
Determines whether a cached
JRTemplateElement template with a specified ID exists.
Parameters: id - the template ID true iff the context contains a cached template with the specified ID
Registers a virtualization context for
JasperPrint JasperPrint object.
Parameters: context - the virtualization context Parameters: print - the print object
When in read-only mode, all the virtualizable objects belonging to this context
are assumed final by the virtualizer and any change in a virtualizable object's data
would be discarded on virtualization.
Parameters: readOnly - the read-only flag