com.groupdocs.redaction

Interface IRedactionCallback



  • public interface IRedactionCallback

    Implement this interface and assign an instance to Redactor.RedactionCallback to receive information on each redaction and prevent it

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean acceptRedaction(RedactionDescription description)
      This call is triggered right before applying any redaction to the document and allows to log or forbid it
    • Method Detail

      • acceptRedaction

        boolean acceptRedaction(RedactionDescription description)

        This call is triggered right before applying any redaction to the document and allows to log or forbid it

        Parameters:
        description - Contains information about particular match type, criteria, text and position
        Returns:
        Return true to accept or false to decline particular match redaction