Class PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder
java.lang.Object
se.idsec.signservice.integration.document.pdf.PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder
- All Implemented Interfaces:
ObjectBuilder<PdfSignatureImageTemplate>
- Enclosing class:
- PdfSignatureImageTemplate
public static class PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder
extends Object
implements ObjectBuilder<PdfSignatureImageTemplate>
Builder for
PdfSignatureImageTemplate
objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object.Extensions for the object.The height (in pixels) for the pixel image that is generated from the template (and inserted into the PDF visible signature flow).includeSignerName
(boolean includeSignerName) Flag telling whether the signer name will be included in the visible PDF signature.includeSigningTime
(boolean includeSigningTime) Flag telling whether the signing time will be included in the visible PDF signature.The unique reference for this image template.svgImageFile
(FileResource svgImageFile) SVG image file that holds up the image template.toString()
The width (in pixels) for the pixel image that is generated from the template (and inserted into the PDF visible signature flow).
-
Method Details
-
reference
The unique reference for this image template.- Returns:
this
.
-
svgImageFile
public PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder svgImageFile(FileResource svgImageFile) SVG image file that holds up the image template.- Returns:
this
.
-
width
The width (in pixels) for the pixel image that is generated from the template (and inserted into the PDF visible signature flow).- Returns:
this
.
-
height
The height (in pixels) for the pixel image that is generated from the template (and inserted into the PDF visible signature flow).- Returns:
this
.
-
includeSignerName
public PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder includeSignerName(boolean includeSignerName) Flag telling whether the signer name will be included in the visible PDF signature.- Returns:
this
.
-
includeSigningTime
public PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder includeSigningTime(boolean includeSigningTime) Flag telling whether the signing time will be included in the visible PDF signature.- Returns:
this
.
-
field
public PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder field(String fieldKey, String fieldValue) -
fields
public PdfSignatureImageTemplate.PdfSignatureImageTemplateBuilder fields(Map<? extends String, ? extends String> fields) -
clearFields
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<PdfSignatureImageTemplate>
- Returns:
- the object
-
toString
-