Class AbstractStamper

    • Constructor Detail

      • AbstractStamper

        public AbstractStamper()
    • Method Detail

      • check

        protected void check​(com.itextpdf.text.pdf.PdfStamper stamper)
        Hook method for checks before stamping.

        Default method only ensures that stamper present.
        Parameters:
        stamper - the stamper to check
      • doStamp

        protected abstract void doStamp​(com.itextpdf.text.pdf.PdfStamper stamper)
        Performs the actual stamping.
        Parameters:
        stamper - the stamper to use
      • stamp

        public void stamp​(com.itextpdf.text.pdf.PdfStamper stamper)
        Performs the stamping. Caller must close the stamper.
        Parameters:
        stamper - the stamper to use