setOnValidate method of the IFieldBuilder interface

Sets the callback for additional validation performed after regular expression matching. This callback can be used for custom checks or tests that are not covered by regular expressions, for example, to calculate the field's checksum. If you do not perform such tests, there is no need to call this method.

IFieldBuilder setOnValidate( Predicate<String> onValidate );

Parameters

onValidate
An object implementing the Predicate<T> interface for the String type. Implemented by user.

Return values

The method returns the IFieldBuilder instance to which it belongs.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.