CustomRedactionContext

Inheritance: java.lang.Object

public class CustomRedactionContext

Provides input data for ICustomRedactionHandler.

Constructors

Constructor Description
CustomRedactionContext()

Methods

Method Description
getPageNumber() Gets the page number of the matched fragment, when available.
setPageNumber(int value) Sets the page number of the matched fragment.
getText() Gets the text matched for redaction.
setText(String value) Sets the text matched for redaction.

CustomRedactionContext()

public CustomRedactionContext()

getPageNumber()

public final int getPageNumber()

Gets the page number of the matched fragment, when available.

Returns: int - The page number, or a format-specific value if the page is not known.

setPageNumber(int value)

public final void setPageNumber(int value)

Sets the page number of the matched fragment.

Parameters:

Parameter Type Description
value int The page number.

getText()

public final String getText()

Gets the text matched for redaction.

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

setText(String value)

public final void setText(String value)

Sets the text matched for redaction.

Parameters:

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