public abstract class AbstractValidator extends Object implements IValidator
| Constructor and Description |
|---|
AbstractValidator(String strValidatorName,
String strValidatorDisplayName,
List<String> listAvailableEntryType)
Constructor of the AbstractValidator
|
| 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(List<FormQuestionResponse> formQuestionResponse,
Control control) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic AbstractValidator(String strValidatorName, String strValidatorDisplayName, List<String> listAvailableEntryType)
strValidatorName - The validator bean namestrValidatorDisplayName - The validator display namelistAvailableEntryType - The list of available entrytypepublic boolean validate(List<FormQuestionResponse> formQuestionResponse, Control control)
validate in interface IValidatorformQuestionResponse - The List response to controlcontrol - The control to verifypublic String getValidatorBeanName()
getValidatorBeanName in interface IValidatorpublic String getValidatorDisplayName()
getValidatorDisplayName in interface IValidatorpublic String getDisplayHtml(Control control)
getDisplayHtml in interface IValidatorcontrol - The control to build modelpublic List<String> getListAvailableEntryType()
getListAvailableEntryType in interface IValidatorpublic String getJavascriptValidation()
IValidatorgetJavascriptValidation in interface IValidatorpublic String getJavascriptControlValue(Control control)
getJavascriptControlValue in interface IValidatorcontrol - The controlCopyright © 2020 City of Paris. All rights reserved.