Package | Description |
---|---|
com.silanis.esl.sdk.builder |
Builder classes provide high-level support for creating model objects.
|
Modifier and Type | Method and Description |
---|---|
static FieldValidatorBuilder |
FieldValidatorBuilder.alphabetic()
Creates an Alphabetic based field validator.
|
static FieldValidatorBuilder |
FieldValidatorBuilder.alphanumeric()
Creates an Alphanumeric based field validator.
|
static FieldValidatorBuilder |
FieldValidatorBuilder.basic()
There would be no field validator.
|
static FieldValidatorBuilder |
FieldValidatorBuilder.email()
Creates an Email based field validator.
|
FieldValidatorBuilder |
FieldValidatorBuilder.maxLength(int maxLength)
Sets the maximum length of the input allowed.
|
FieldValidatorBuilder |
FieldValidatorBuilder.minLength(int minLength)
Set the minimum length of the input allowed
|
static FieldValidatorBuilder |
FieldValidatorBuilder.numeric()
Creates a Numeric based field validator.
|
static FieldValidatorBuilder |
FieldValidatorBuilder.regex(String regex)
Creates a Regex based field validator.
|
FieldValidatorBuilder |
FieldValidatorBuilder.required()
Set that the field is mandatory to be filled before the signer is allowed
to complete signing his document.
|
static FieldValidatorBuilder |
FieldValidatorBuilder.url()
Creates an URL based field validator.
|
FieldValidatorBuilder |
FieldValidatorBuilder.withErrorMessage(String errorMessage)
Sets the error message returned to the end user should the validator not
validate the input.
|
FieldValidatorBuilder |
FieldValidatorBuilder.withOption(String option)
Add an option to the options list
The first option of the list defines the group for the radio buttons
|
Modifier and Type | Method and Description |
---|---|
FieldBuilder |
FieldBuilder.withValidation(FieldValidatorBuilder builder)
Sets a validator on the field that could be easily customized by the field validator builder provided as parameter.
|
Copyright 2014, Silanis Technology, Inc. All rights reserved.