Interface IDisplayIfProcessor
- All Known Implementing Classes:
DisplayIfProcessor
public interface IDisplayIfProcessor
Interface for processors that may be used to delete commented paragraphs or tables from the document, depending on a given condition.
- Version:
- ${version}
- Author:
- Joseph Verron
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayParagraphIf(Boolean condition) May be called to delete the commented paragraph or not, depending on the given boolean condition.voiddisplayParagraphIfPresent(Object condition) May be called to delete the commented paragraph or not, depending on the presence of the given data.voiddisplayTableIf(Boolean condition) May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.voiddisplayTableRowIf(Boolean condition) May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
-
Method Details
-
displayParagraphIf
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
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
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
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.
-