Class OperationBlacken


  • public class OperationBlacken
    extends Object
    If this element is set, all redact annotations placed in the document will be converted into actual content redactions. Content obscured by such an annotation will be irretrievably removed from the page content.
    • Constructor Detail

      • OperationBlacken

        public OperationBlacken()
    • Method Detail

      • getCollisionRatio

        @Nullable
        public @Nullable Integer getCollisionRatio()
        Specifies a percentage value by which a letter must be obscured at least to be considered blackened and thus removed. minimum: 0 maximum: 100
        Returns:
        collisionRatio
      • setCollisionRatio

        public void setCollisionRatio​(Integer collisionRatio)
      • getRedactAnnotations

        @Nullable
        public @Nullable Boolean getRedactAnnotations()
        If this value is set to \"true\", all blackened annotations will be removed. Annotations are removed completely even if they are only truncated.
        Returns:
        redactAnnotations
      • setRedactAnnotations

        public void setRedactAnnotations​(Boolean redactAnnotations)
      • getRedactImages

        @Nullable
        public @Nullable Boolean getRedactImages()
        If this value is set to true, all blackened image data will be removed. For images, the entire image is not removed, but the obscured area is replaced by the redaction.
        Returns:
        redactImages
      • setRedactImages

        public void setRedactImages​(Boolean redactImages)
      • getRedactPaths

        @Nullable
        public @Nullable Boolean getRedactPaths()
        If this value is set to true, all blackened character paths are removed. The paths are adjusted so that the blackened section is removed from the path construction.
        Returns:
        redactPaths
      • setRedactPaths

        public void setRedactPaths​(Boolean redactPaths)
      • getRedactTexts

        @Nullable
        public @Nullable Boolean getRedactTexts()
        If this value is set to \"true\", all texts are blackened letter by letter.
        Returns:
        redactTexts
      • setRedactTexts

        public void setRedactTexts​(Boolean redactTexts)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object