Class PdfSignaturePage.PdfSignaturePageBuilder
java.lang.Object
se.idsec.signservice.integration.document.pdf.PdfSignaturePage.PdfSignaturePageBuilder
- All Implemented Interfaces:
ObjectBuilder<PdfSignaturePage>
- Enclosing class:
- PdfSignaturePage
public static class PdfSignaturePage.PdfSignaturePageBuilder
extends Object
implements ObjectBuilder<PdfSignaturePage>
Builder for
PdfSignPagePreferences
objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object.If it should be possible to add PDF sign images in several columns to this sign page document thecolumns
attribute should assigned to the desired number of columns.Extensions for the object.The unique ID for this PDF signature page.imagePlacementConfiguration
(PdfSignaturePage.PdfSignatureImagePlacementConfiguration imagePlacementConfiguration) Configuration that tells where in the PDF signature page the PDF signature image(s) should be inserted.pdfDocument
(FileResource pdfDocument) The file resource containing the PDF document that holds the PDF signature page.If it should be possible to add PDF sign images in several rows to this sign page document therows
attribute should assigned to the desired number of rows.signatureImageReference
(String signatureImageReference) A unique reference of the signature template image that is inserted into this PDF signature page.toString()
-
Method Details
-
id
The unique ID for this PDF signature page.- Returns:
this
.
-
pdfDocument
The file resource containing the PDF document that holds the PDF signature page.- Returns:
this
.
-
rows
If it should be possible to add PDF sign images in several rows to this sign page document therows
attribute should assigned to the desired number of rows. The default is1
.- Returns:
this
.
-
columns
If it should be possible to add PDF sign images in several columns to this sign page document thecolumns
attribute should assigned to the desired number of columns. The default is1
.- Returns:
this
.
-
signatureImageReference
public PdfSignaturePage.PdfSignaturePageBuilder signatureImageReference(String signatureImageReference) A unique reference of the signature template image that is inserted into this PDF signature page. SeePdfSignatureImageTemplate
.- Returns:
this
.- See Also:
-
imagePlacementConfiguration
public PdfSignaturePage.PdfSignaturePageBuilder imagePlacementConfiguration(PdfSignaturePage.PdfSignatureImagePlacementConfiguration imagePlacementConfiguration) Configuration that tells where in the PDF signature page the PDF signature image(s) should be inserted.- Returns:
this
.
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<PdfSignaturePage>
- Returns:
- the object
-
toString
-