public static class ValidationOptions.ValidationOptionsBuilder
extends java.lang.Object
Constructor and Description |
---|
ValidationOptionsBuilder() |
Modifier and Type | Method and Description |
---|---|
ValidationOptions |
build()
This will build the
ValidationOptions object using the options provided in the setters. |
ValidationOptions.ValidationOptionsBuilder |
setCaptchaData(java.lang.String captchaData)
Sets the captcha data to validate the captcha.
|
ValidationOptions.ValidationOptionsBuilder |
setContextPath(java.lang.String contextPath)
Sets the context path of the application
|
ValidationOptions.ValidationOptionsBuilder |
setData(java.lang.String data)
Sets the submitted data of the adaptive form.
|
ValidationOptions.ValidationOptionsBuilder |
setFileAttachmentMap(java.lang.String fileAttachmentMap)
Sets the file attachment map to be used during validation of data on server side
|
ValidationOptions.ValidationOptionsBuilder |
setFormContainerResource(Resource formContainerResource)
Sets the adaptive form container resource against which server side validation is to be performed
|
ValidationOptions.ValidationOptionsBuilder |
setLocale(java.lang.String locale)
Sets the locale to be used during validation of data on server side
|
ValidationOptions.ValidationOptionsBuilder |
setServerUrl(java.lang.String serverUrl)
Sets the server name to be used for conversion of relative to absolute URL
|
public ValidationOptions.ValidationOptionsBuilder setFormContainerResource(Resource formContainerResource)
formContainerResource
- adaptive form container resource against which validation would be performed.ValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setData(java.lang.String data)
data
- String representing data of Adaptive form.ValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setCaptchaData(java.lang.String captchaData)
captchaData
- Captcha data coming from request to validate captcha, which resides in the form.ValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setServerUrl(java.lang.String serverUrl)
serverUrl
- host name/ip to be used for conversion of relative URL to absolute URL during server side validation.ValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setContextPath(java.lang.String contextPath)
contextPath
- Context path for the application.ValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setLocale(java.lang.String locale)
locale
- localeValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions.ValidationOptionsBuilder setFileAttachmentMap(java.lang.String fileAttachmentMap)
fileAttachmentMap
- file attachment mapValidationOptions.ValidationOptionsBuilder
validation options builderpublic ValidationOptions build()
ValidationOptions
object using the options provided in the setters.ValidationOptions
validation optionsCopyright © 2010 - 2020 Adobe. All Rights Reserved