Package eu.europa.esig.dss.pdf
Class PdfAnnotation
java.lang.Object
eu.europa.esig.dss.pdf.PdfAnnotation
Contains relative information about a PDF annotation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns theAnnotationBoxgetName()Returns a name of the annotationinthashCode()booleanisSigned()Gets whether the annotation field is signedvoidSets a name of the annotationvoidsetSigned(boolean signed) Sets whether the annotation field is signedtoString()
-
Constructor Details
-
PdfAnnotation
Default constructor- Parameters:
annotationBox-AnnotationBox
-
-
Method Details
-
getAnnotationBox
Returns theAnnotationBox- Returns:
AnnotationBox
-
getName
Returns a name of the annotation- Returns:
Stringname
-
setName
Sets a name of the annotation- Parameters:
name-Stringannotation name
-
isSigned
public boolean isSigned()Gets whether the annotation field is signed- Returns:
- TRUE if the annotation field contains a signature, FALSE otherwise
-
setSigned
public void setSigned(boolean signed) Sets whether the annotation field is signed- Parameters:
signed- whether the annotation field is signed
-
hashCode
public int hashCode() -
equals
-
toString
-