Interface IDisplayIfProcessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void displayParagraphIf​(Boolean condition)
      May be called to delete the commented paragraph or not, depending on the given boolean condition.
      void displayParagraphIfPresent​(Object condition)
      May be called to delete the commented paragraph or not, depending on the presence of the given data.
      void displayTableIf​(Boolean condition)
      May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
      void displayTableRowIf​(Boolean condition)
      May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
    • Method Detail

      • displayParagraphIf

        void displayParagraphIf​(Boolean condition)
        May be called to delete the commented paragraph or not, depending on the given boolean condition.
        Parameters:
        condition - if true, the commented paragraph will remain in the document. If false, the commented paragraph will be deleted at stamping.
      • displayParagraphIfPresent

        void displayParagraphIfPresent​(Object condition)
        May be called to delete the commented paragraph or not, depending on the presence of the given data.
        Parameters:
        condition - if non null, the commented paragraph will remain in the document. If null, the commented paragraph will be deleted at stamping.
      • displayTableRowIf

        void displayTableRowIf​(Boolean condition)
        May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
        Parameters:
        condition - if true, the table row surrounding the commented paragraph will remain in the document. If false, the table row will be deleted at stamping.
      • displayTableIf

        void displayTableIf​(Boolean condition)
        May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
        Parameters:
        condition - if true, the table surrounding the commented paragraph will remain in the document. If false, the table will be deleted at stamping.