CustomRedactionContext
Leave feedback
On this page
Inheritance: java.lang.Object
public class CustomRedactionContext
Provides input data for ICustomRedactionHandler.
| Constructor | Description |
|---|---|
| CustomRedactionContext() |
| 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. |
public CustomRedactionContext()
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.
public final void setPageNumber(int value)
Sets the page number of the matched fragment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The page number. |
public final String getText()
Gets the text matched for redaction.
Returns: java.lang.String - The matched text.
public final void setText(String value)
Sets the text matched for redaction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The matched text. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.