Class PdfFieldMapper

java.lang.Object
formflow.library.pdf.PdfFieldMapper

@Component public class PdfFieldMapper extends Object
  • Constructor Details

    • PdfFieldMapper

      public PdfFieldMapper(List<PdfMap> pdfMapConfigurations)
  • Method Details

    • map

      public List<PdfField> map(List<SubmissionField> submissionFields, String flow)
      Maps SubmissionFields to PdfFields, taking into account if they are a SingleField or a CheckboxField type of SubmissionField.
      Parameters:
      submissionFields - List of SubmissionFields containing user input data
      flow - The flow that we should get the PdfMap of to use in mapping
      Returns:
      List of PdfFields containing a PdfField and it's data value