public class ListValueValidator extends AbstractValidator
| Constructor and Description |
|---|
ListValueValidator(String strValidatorName,
String strValidatorDisplayName,
List<String> listAvailableEntryType)
Constructor of the PatternValidator
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayHtml(Control control) |
String |
getJavascriptControlValue(Control control) |
String |
getJavascriptValidation()
Only the content of the function should be returned.
|
List<String> |
getListAvailableEntryType() |
String |
getValidatorBeanName() |
String |
getValidatorDisplayName() |
boolean |
validate(FormQuestionResponse questionResponse,
Control control) |
validatepublic ListValueValidator(String strValidatorName, String strValidatorDisplayName, List<String> listAvailableEntryType)
strValidatorName - The validator bean namestrValidatorDisplayName - The validator display namelistAvailableEntryType - The list of available entrytypepublic String getValidatorBeanName()
getValidatorBeanName in interface IValidatorgetValidatorBeanName in class AbstractValidatorpublic String getValidatorDisplayName()
getValidatorDisplayName in interface IValidatorgetValidatorDisplayName in class AbstractValidatorpublic String getDisplayHtml(Control control)
getDisplayHtml in interface IValidatorgetDisplayHtml in class AbstractValidatorcontrol - The control to build modelpublic List<String> getListAvailableEntryType()
getListAvailableEntryType in interface IValidatorgetListAvailableEntryType in class AbstractValidatorpublic boolean validate(FormQuestionResponse questionResponse, Control control)
validate in interface IValidatorvalidate in class AbstractValidatorquestionResponse - The response to controlcontrol - The control to verifypublic String getJavascriptValidation()
IValidatorgetJavascriptValidation in interface IValidatorgetJavascriptValidation in class AbstractValidatorpublic String getJavascriptControlValue(Control control)
getJavascriptControlValue in interface IValidatorgetJavascriptControlValue in class AbstractValidatorcontrol - The controlCopyright © 2020 City of Paris. All rights reserved.