Class SignatureHandler.Placeholder

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    SignatureHandler

    public static class SignatureHandler.Placeholder
    extends java.lang.Object
    A Placeholder can be used to mark a point in the PDF which needs to be updated after the signature has been applied
    Since:
    2.11.12
    • Constructor Summary

      Constructors 
      Constructor Description
      Placeholder​(int length)
      Create a new Placeholder of the specified length, but with no content set
    • Constructor Detail

      • Placeholder

        public Placeholder​(int length)
        Create a new Placeholder of the specified length, but with no content set
    • Method Detail

      • getLength

        public int getLength()
        Get the length of this object
      • setLength

        public void setLength​(int length)
      • getOffset

        public long getOffset()
        Get the offset into the file of this object
      • setDigestable

        public void setDigestable​(boolean digestable)
        Set whether this Placeholder should return true from isDigestable()
      • clone

        protected java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object