CustomRedactionResult

Inheritance: java.lang.Object

public class CustomRedactionResult

Represents a result returned by ICustomRedactionHandler.

Constructors

Constructor Description
CustomRedactionResult()

Methods

Method Description
getApply() Gets a value indicating whether the replacement should be applied.
setApply(boolean value) Sets a value indicating whether the replacement should be applied.
getText() Gets the replacement text used when #getApply().getApply() is
true
.
setText(String value) Sets the replacement text used when #getApply().getApply() is
true
.

CustomRedactionResult()

public CustomRedactionResult()

getApply()

public final boolean getApply()

Gets a value indicating whether the replacement should be applied.

Returns: boolean - true to replace the matched text with #getText().getText(); otherwise, false .

setApply(boolean value)

public final void setApply(boolean value)

Sets a value indicating whether the replacement should be applied.

Parameters:

Parameter Type Description
value boolean true to apply the replacement; otherwise, false .

getText()

public final String getText()

Gets the replacement text used when #getApply().getApply() is true .

Returns: java.lang.String - The replacement text.

setText(String value)

public final void setText(String value)

Sets the replacement text used when #getApply().getApply() is true .

Parameters:

Parameter Type Description
value java.lang.String The replacement text.