Class SignedAppearanceText
java.lang.Object
com.itextpdf.forms.fields.properties.SignedAppearanceText
Class representing the signature text identifying the signer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerates the signature description text based on the provided parameters.Returns the signing location.Returns the signing reason.Returns the signature date.Gets the name of the signer from the certificate.setLocationLine
(String location) Sets the signing location.setReasonLine
(String reason) Sets the signing reason.setSignDate
(Calendar signDate) Sets the signature date.setSignedBy
(String signedBy) Sets the name of the signer from the certificate.
-
Constructor Details
-
SignedAppearanceText
public SignedAppearanceText()Creates a newSignedAppearanceText
instance.
-
-
Method Details
-
getReasonLine
Returns the signing reason.- Returns:
- reason for signing.
-
setReasonLine
Sets the signing reason.- Parameters:
-
reason
- signing reason. - Returns:
-
this same
SignedAppearanceText
instance.
-
getLocationLine
Returns the signing location.- Returns:
- signing location.
-
setLocationLine
Sets the signing location.- Parameters:
-
location
- new signing location. - Returns:
-
this same
SignedAppearanceText
instance.
-
setSignedBy
Sets the name of the signer from the certificate.- Parameters:
-
signedBy
- name of the signer. - Returns:
-
this same
SignedAppearanceText
instance.
-
getSignedBy
Gets the name of the signer from the certificate.- Returns:
- signedBy name of the signer.
-
getSignDate
Returns the signature date.- Returns:
- the signature date
-
setSignDate
Sets the signature date.- Parameters:
-
signDate
- new signature date. - Returns:
-
this same
SignedAppearanceText
instance.
-
generateDescriptionText
Generates the signature description text based on the provided parameters.- Returns:
- signature description.
-