Package net.sf.jasperreports.engine.base
Class JRVirtualPrintPage.JRIdHolderRenderer
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRVirtualPrintPage.JRIdHolderRenderer
-
- All Implemented Interfaces:
Serializable
,Renderable
- Enclosing class:
- JRVirtualPrintPage
public static class JRVirtualPrintPage.JRIdHolderRenderer extends Object implements Renderable
Dummy image renderer that only stores the ID of a cached renderer. When a page gets serialized, all image renderers that are cached in the virtualization context are replaced with dummy renderers that only store the ID. When a page gets deserialized, the original renderers are restored from the virtualization context based on the ID.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
-
Fields inherited from interface net.sf.jasperreports.renderers.Renderable
PROPERTY_IMAGE_DPI
-
-
Constructor Summary
Constructors Constructor Description JRIdHolderRenderer(Renderable renderer)
-
-
-
Field Detail
-
id
protected final String id
-
-
Constructor Detail
-
JRIdHolderRenderer
public JRIdHolderRenderer(Renderable renderer)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceRenderable
-
-