Class JRVirtualPrintPage.JRIdHolderRenderer

  • All Implemented Interfaces:
    java.io.Serializable, Renderable
    Enclosing class:
    JRVirtualPrintPage

    public static class JRVirtualPrintPage.JRIdHolderRenderer
    extends java.lang.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 java.lang.String id  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected final java.lang.String id
    • Constructor Detail

      • JRIdHolderRenderer

        public JRIdHolderRenderer​(Renderable renderer)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface Renderable