com.groupdocs.signature.domain.signatures.metadata

Class PdfMetadataSignature



  • public final class PdfMetadataSignature
    extends MetadataSignature

    Contains Pdf Metadata signature properties.

    • Constructor Detail

      • PdfMetadataSignature

        public PdfMetadataSignature(String name)

        Creates Pdf Metadata signature with predefined name and empty value

        Parameters:
        name - Pdf Metadata Signature name
      • PdfMetadataSignature

        public PdfMetadataSignature(String name,
                                    Object value)

        Creates Pdf Metadata signature with predefined values

        Parameters:
        name - Name of Metadata signature object
        value - Value of Metadata signature
      • PdfMetadataSignature

        public PdfMetadataSignature(String name,
                                    Object value,
                                    String tag)

        Creates Pdf Metadata signature with predefined values

        Parameters:
        name - Name of Metadata signature object
        value - Value of Metadata signature
        tag - Prefix tag of Metadata signature
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone Metadata Signature instance.

        Overrides:
        deepClone in class MetadataSignature
        Returns:
        Returns cloned Metadata Signature instance
      • deepClone

        public MetadataSignature deepClone(Object value)

        Clone Pdf Metadata Signature instance with given value.

        Overrides:
        deepClone in class MetadataSignature
        Parameters:
        value - Value for new cloned object.
        Returns:
        Returns cloned Metadata Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class MetadataSignature
        Parameters:
        signature - Signature object to compare with.
        Returns:
        Returns true if passed signature object has same type and all its properties are equal to this instance properties.
      • getTagPrefix

        public final String getTagPrefix()

        The prefix tag of Pdf Metadata signature name. By default this property is set to "xmp". Possible values are

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class MetadataSignature
        Returns:
        Signature hash code
      • setTagPrefix

        public final void setTagPrefix(String value)

        The prefix tag of Pdf Metadata signature name. By default this property is set to "xmp". Possible values are

      • setValue_Rename_Namesake

        protected void setValue_Rename_Namesake(Object value)

        Overrides SetValue method

        Parameters:
        value -