Packages

 

com.groupdocs.signature.domain.signatures.metadata

Class CellsMetadataSignature

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public final class CellsMetadataSignature
    extends MetadataSignature

    Contains Cells Metadata Signature properties.

    • Constructor Detail

      • CellsMetadataSignature

        public CellsMetadataSignature(String name)

        Creates Cells Metadata Signature with predefined name and empty value

        Parameters:
        name - Cells Metadata Signature name
      • CellsMetadataSignature

        public CellsMetadataSignature(String name,
                              Object value)

        Creates Cells Metadata Signature with predefined values

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

      • deepClone

        public Object deepClone()

        Clone Metadata Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class MetadataSignature
        Returns:
        Returns cloned Metadata Signature instance
      • deepClone

        public MetadataSignature deepClone(Object value)

        Clone Cells Metadata Signature instance with given value.

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

        public final <T> T getData(Class<T> typeOfT)

        Obtain object from Metadata Signature Value over deserialization.

        Returns:
        Instance of T object

        T: Type of object to deserialize from Metadata value

      • getData

        public final <T> T getData(Class<T> typeOfT,
                    IDataEncryption dataEncryption)

        Obtain object from Metadata Signature Text over deserialization.

        Parameters:
        dataEncryption - Set custom data encryption implementation

        T: Type of object to deserialize from Metadata Value

        Returns:
      • getDataEncryption

        public final IDataEncryption getDataEncryption()

        Gets or sets implementation of IDataEncryption interface to encode and decode signature Value properties for string types and object instances.

      • setDataEncryption

        public final void setDataEncryption(IDataEncryption value)

        Gets or sets implementation of IDataEncryption interface to encode and decode signature Value properties for string types and object instances.

      • toString

        public String toString()

        Converts to String with override ToString() method

        Overrides:
        toString in class MetadataSignature
        Returns:
        Returns the Metadata Signature value as String.


        Converts a boolean property into "True" or "False". For another data type the default data format provider will be used.

      • toString

        public String toString(String format,
                      com.aspose.ms.System.IFormatProvider provider)

        Converts to String with specified format

        Parameters:
        format - Data format string.
        provider - Format data provider to use with data conversion operations.


        Converts a boolean property into "True" or "False".

        Returns:
        Returns the Metadata Signature value as String.