Package es.gob.afirma.signature.pades
Class PDFSignatureDictionary
- java.lang.Object
-
- es.gob.afirma.signature.pades.PDFSignatureDictionary
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PDFSignatureDictionary>
public class PDFSignatureDictionary extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PDFSignatureDictionary>
Class that contains information related to a signature dictionary of a PDF document.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 13/11/2014.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PDFSignatureDictionary(int revisionParam, com.lowagie.text.pdf.PdfDictionary dictionaryParam, java.lang.String nameParam)Constructor method for the class PDFSignatureDictionary.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PDFSignatureDictionary o)com.lowagie.text.pdf.PdfDictionarygetDictionary()Gets the value of the attributedictionary.java.lang.StringgetName()Gets the value of the attributename.java.lang.IntegergetRevision()Gets the value of the attributerevision.voidsetDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam)Sets the value of the attributedictionary.voidsetName(java.lang.String nameParam)Sets the value of the attributename.voidsetRevision(java.lang.Integer revisionParam)Sets the value of the attributerevision.
-
-
-
Constructor Detail
-
PDFSignatureDictionary
public PDFSignatureDictionary(int revisionParam, com.lowagie.text.pdf.PdfDictionary dictionaryParam, java.lang.String nameParam)Constructor method for the class PDFSignatureDictionary.java.- Parameters:
revisionParam- Parameter that represents the number of the revision on the PDF document when the signature dictionary was added.dictionaryParam- Parameter that represents the signature dictionary.nameParam- Parameter that represents the name of the signature dictionary.
-
-
Method Detail
-
getRevision
public final java.lang.Integer getRevision()
Gets the value of the attributerevision.- Returns:
- the value of the attribute
revision.
-
setRevision
public final void setRevision(java.lang.Integer revisionParam)
Sets the value of the attributerevision.- Parameters:
revisionParam- The value for the attributerevision.
-
getDictionary
public final com.lowagie.text.pdf.PdfDictionary getDictionary()
Gets the value of the attributedictionary.- Returns:
- the value of the attribute
dictionary.
-
setDictionary
public final void setDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam)
Sets the value of the attributedictionary.- Parameters:
dictionaryParam- The value for the attributedictionary.
-
getName
public final java.lang.String getName()
Gets the value of the attributename.- Returns:
- the value of the attribute
name.
-
setName
public final void setName(java.lang.String nameParam)
Sets the value of the attributename.- Parameters:
nameParam- The value for the attributename.
-
compareTo
public final int compareTo(PDFSignatureDictionary o)
- Specified by:
compareToin interfacejava.lang.Comparable<PDFSignatureDictionary>- See Also:
Comparable.compareTo(java.lang.Object)
-
-