public static interface IDataCaptureProfileBuilder.IFieldBuilder
Modifier and Type | Method and Description |
---|---|
IDataCaptureProfileBuilder.IFieldBuilder |
setName(java.lang.String name)
Set the name of the field
|
IDataCaptureProfileBuilder.IFieldBuilder |
setOnValidate(IDataCaptureProfileBuilder.Predicate<java.lang.String> onValidate)
Set the validation callback
|
IDataCaptureProfileBuilder.IFieldBuilder |
setRegEx(java.lang.String regEx)
Set the regular expression for the field
|
IDataCaptureProfileBuilder.IFieldBuilder setName(java.lang.String name)
name
- is the display name for the fieldIDataCaptureProfileBuilder.IFieldBuilder setRegEx(java.lang.String regEx)
regEx
- is the regular expressionIDataCaptureProfileBuilder.IFieldBuilder setOnValidate(IDataCaptureProfileBuilder.Predicate<java.lang.String> onValidate)
onValidate
- is a predicate to validate field value