Interface IParagraphRepeatProcessor

All Known Implementing Classes:
ParagraphRepeatProcessor

public interface IParagraphRepeatProcessor
Implementations of this interface are responsible for processing the repeat paragraph instruction. The repeat paragraph instruction is a comment that contains the following text:

repeatParagraph(...)

Where the three dots represent an expression that evaluates to a list of objects. The processor then copies the paragraph once for each object in the list and evaluates all expressions within each copy against the respective object.

Version:
1.6.6
Author:
Joseph Verron
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    May be called to mark a paragraph to be copied once for each element in the passed-in list.
  • Method Details

    • repeatParagraph

      void repeatParagraph(List<Object> objects)
      May be called to mark a paragraph to be copied once for each element in the passed-in list. Within each copy of the row, all expressions are evaluated against one of the objects in the list.
      Parameters:
      objects - the objects which serve as context root for expressions found in the template table row.